Cleaned up hurl test files.

This commit is contained in:
2026-05-01 07:49:22 +02:00
parent 8c0614d32b
commit 6b095e54f8
6 changed files with 91 additions and 48 deletions
+7
View File
@@ -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"