Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
jakedoublev committed Dec 3, 2024
1 parent 1a52d7b commit 498522a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions e2e/subject-mapping.bats
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,9 @@ teardown_file() {
run_otdfctl_sm list
assert_success
assert_output --partial "$created"
assert_output --regexp "FQN.*https://subject-mappings.net/attr/attr1/value/val1"
# TODO: test the specific FQN in table and in JSON

run_otdfctl_sm list --json
[ "$(echo $output | jq -r ".[] | select(.id == \"$created\") | .attribute_value.fqn")" == "https://subject-mappings.net/attr/attr1/value/val1" ]
}

@test "Delete subject mapping" {
Expand Down

0 comments on commit 498522a

Please sign in to comment.