Skip to content

Commit

Permalink
tests: fix expected result
Browse files Browse the repository at this point in the history
  • Loading branch information
guanzo committed Nov 8, 2023
1 parent 8d83707 commit c352e31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/integration_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ url="${base_url}/ipfs/${cid}?format=car"

echo Requests succeed without a jwt
code="$(curl -sw "%{http_code}\n" -o /dev/null "${url}")"
test "$code" -eq "$authentication_err" || exit 1
test "$code" -eq 200 || exit 1

echo Requests fail with explicit allow_list but without an origin header
code="$(curl -sw "%{http_code}\n" -o /dev/null "${url}&jwt=${jwtAllowExplicit}")"
Expand Down

0 comments on commit c352e31

Please sign in to comment.