feat: #2 impl an HTTPResponse + update tests
This commit is contained in:
@@ -16,8 +16,8 @@ do
|
||||
echo "bad http status code : ${http_response}, expect 200"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ $(cat response.txt | jq -r '.[]') != "ok" ]
|
||||
|
||||
if [ "$(cat response.txt | jq -r '.token')" != "header.payload.signature" ]
|
||||
then
|
||||
echo "bad data returned, expect : ok"
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user