We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c60776 commit 6e1f280Copy full SHA for 6e1f280
build.sh
@@ -50,7 +50,7 @@ else
50
fi
51
52
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
+if [ "$TEST_SECURE_HEADER_EXPECT_302" -eq "302" ];then
54
echo -e "${GREEN}Secure test without jwt auth header pass ${TEST_SECURE_HEADER_EXPECT_302}${NONE}";
55
else
56
echo -e "${RED}Secure test without jwt auth header fail ${TEST_SECURE_HEADER_EXPECT_302}${NONE}";
0 commit comments