test: updated test to match error change

This commit is contained in:
Luke McCrone
2024-06-24 16:27:01 -03:00
parent 329fae5203
commit 10e22e8bef
+1 -1
View File
@@ -782,7 +782,7 @@ EOF
fail "put succeeded despite malformed policy"
fi
# shellcheck disable=SC2154
[[ "$put_bucket_policy_error" == *"MalformedPolicy"*"unsupported action"* ]] || fail "invalid policy error: $put_bucket_policy_error"
[[ "$put_bucket_policy_error" == *"MalformedPolicy"*"invalid action"* ]] || fail "invalid policy error: $put_bucket_policy_error"
delete_bucket_or_contents "aws" "$BUCKET_ONE_NAME"
delete_test_files "$policy_file"
}