Skip to content

Commit 6e1f280

Browse files
committed
Typo for test status
Typo for test status
1 parent 6c60776 commit 6e1f280

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ else
5050
fi
5151

5252
TEST_SECURE_HEADER_EXPECT_302=`curl -X GET -o /dev/null --silent --head --write-out '%{http_code}\n' http://${MACHINE_IP}:8000/secure-auth-header/index.html -H 'cache-control: no-cache'`
53-
if [ "$TEST_SECURE_HEADER_EXPECT_302" -eq "200" ];then
53+
if [ "$TEST_SECURE_HEADER_EXPECT_302" -eq "302" ];then
5454
echo -e "${GREEN}Secure test without jwt auth header pass ${TEST_SECURE_HEADER_EXPECT_302}${NONE}";
5555
else
5656
echo -e "${RED}Secure test without jwt auth header fail ${TEST_SECURE_HEADER_EXPECT_302}${NONE}";

0 commit comments

Comments
 (0)