Cleaned up hurl test files.
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
# Check accessing protected route with an invalid token gives a 401
|
||||
GET http://localhost:3333/home
|
||||
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWUsImlhdCI6MTUxNjIzOTAyMn0.KMUFsIDTnFmyG3nMiGM6H9FNFUROf3wh7SmqJp-QV30
|
||||
|
||||
HTTP 401
|
||||
[Asserts]
|
||||
jsonpath "$.error" == "unauthorized"
|
||||
Reference in New Issue
Block a user