test(bats): Use correct attribute for the test (#4033)

This commit is contained in:
Michael Li authored and GitHub committed 2023-11-10 16:45:19 -05:00
1 parent 46556b5ce9
commit 4f262e7de5
1 file changed
+2 -2
@@ -493,7 +493,7 @@ export NEW_VAULT_LIB="test_vault"
[ "$status" -eq 0 ]
# can unset it
run update_vault_ssh_certificate_library -id $clid -extensions null
run update_vault_ssh_certificate_library -id $clid -critical-options null
echo "$output"
[ "$status" -eq 0 ]
@@ -502,7 +502,7 @@ export NEW_VAULT_LIB="test_vault"
[ "$status" -eq 0 ]
got=$(echo "$output")
run field_eq "$got" ".item.attributes.extensions" "null"
run field_eq "$got" ".item.attributes.critical_options" "null"
[ "$status" -eq 0 ]
}