feat: #12 add async block in handlers (more readable) + fix tests

This commit is contained in:
2022-10-10 14:59:29 +00:00
parent 53b5c7a65f
commit 71e3db0857
4 changed files with 45 additions and 23 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ done
for i in {0..10}
do
http_response=$(curl -s -o response.txt -w "%{http_code}" ${URL}/ge/ -d '{"username":"toto", "password":"tutu"}')
if [ $http_response != "400" ]
if [ $http_response != "404" ]
then
echo "bad http status code : ${http_response}, expect 400"
exit 1