Skip to content

Commit 6af8be7

Browse files
committed
chore: quote strings [skip ci]
1 parent e87d53c commit 6af8be7

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

scripts/integration_tests.sh

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -65,30 +65,30 @@ authorization_err=403 # jwt doesn't allow request origin
6565
cid="bafybeifpz6onienrgwvb3mw5rg7piq5jh63ystjn7s5wk6ttezy2gy5xwu/Mexico.JPG"
6666
url="${base_url}/ipfs/${cid}?format=car"
6767

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

72-
echo Requests fail with explicit allow_list but without an origin header
72+
echo "Requests fail with explicit allow_list but without an origin header"
7373
code="$(curl -sw "%{http_code}\n" -o /dev/null "${url}&jwt=${jwtAllowExplicit}")"
7474
test "$code" -eq "$authorization_err" || exit 1
7575

76-
echo Requests fail with explicit allow_list but not allowed origin
76+
echo "Requests fail with explicit allow_list but not allowed origin"
7777
code="$(curl -sw "%{http_code}\n" -o /dev/null -H "Origin: https://abc.com" "${url}&jwt=${jwtAllowExplicit}")"
7878
test "$code" -eq "$authorization_err" || exit 1
7979

80-
echo Requests succeed with a jwt query param
80+
echo "Requests succeed with a jwt query param"
8181
code="$(curl -sw "%{http_code}\n" -o /dev/null -H "Origin: https://abc.com" "${url}&jwt=${jwtAllowAll}")"
8282
test "$code" -eq 200 || exit 1
8383

84-
echo Requests succeed with a jwt auth header
84+
echo "Requests succeed with a jwt auth header"
8585
code="$(curl -sw "%{http_code}\n" -o /dev/null -H "Origin: https://abc.com" -H "Authorization: Bearer ${jwtAllowAll}" "${url}")"
8686
test "$code" -eq 200 || exit 1
8787

88-
echo Requests succeed with explicit allow_list and allowed origin
88+
echo "Requests succeed with explicit allow_list and allowed origin"
8989
code="$(curl -sw "%{http_code}\n" -o /dev/null -H "Origin: https://google.com" "${url}&jwt=${jwtAllowExplicit}")"
9090
test "$code" -eq 200 || exit 1
9191

92-
echo Requests succeed with allow_list == [*] and without an origin header
92+
echo "Requests succeed with allow_list == [*] and without an origin header"
9393
code="$(curl -sw "%{http_code}\n" -o /dev/null "${url}&jwt=${jwtAllowAll}")"
9494
test "$code" -eq 200 || exit 1

0 commit comments

Comments
 (0)