Skip to content

Commit 3afdb2c

Browse files
fix(core): Fix obligation smoke test (#687)
1.) Obligation smoke test should just for the presence of`required obligation` (cherry picked from commit c8e9b20)
1 parent 0b60dc7 commit 3afdb2c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

e2e/encrypt-decrypt.bats

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,14 +221,14 @@ teardown_file(){
221221
assert_success
222222
run sh -c "./otdfctl decrypt --host $HOST --tls-no-verify $DEBUG_LEVEL $WITH_CREDS $OUTFILE_GO_MOD"
223223
assert_failure
224-
refute_output --partial "required obligations: $OBL_VAL_FQN"
224+
refute_output --partial "required obligations"
225225

226226
# NANO
227227
run sh -c "./otdfctl encrypt -o $OUTFILE_GO_MOD --host $HOST --tls-no-verify $DEBUG_LEVEL $WITH_CREDS -a $ATTR_OBL_VAL_FQN --tdf-type nano $INFILE_GO_MOD"
228228
assert_success
229229
run sh -c "./otdfctl decrypt --host $HOST --tls-no-verify $DEBUG_LEVEL $WITH_CREDS $OUTFILE_GO_MOD"
230230
assert_failure
231-
refute_output --partial "required obligations: $OBL_VAL_FQN"
231+
refute_output --partial "required obligations"
232232
}
233233

234234
@test "roundtrip TDF3/Nano, entitled to data, required obligations returned" {

0 commit comments

Comments
 (0)