refactor(user): apply chanoges to hurl tests
This commit is contained in:
@@ -34,7 +34,7 @@ Content-Type: application/json
|
||||
HTTP 200
|
||||
[Captures]
|
||||
admin_token: jsonpath "$.access_token"
|
||||
admin_user_id: jsonpath "$.user.id"
|
||||
admin_user_id: jsonpath "$.user.full.user.id"
|
||||
|
||||
GET {{base_url}}/api/folders
|
||||
Authorization: Bearer {{admin_token}}
|
||||
@@ -56,7 +56,7 @@ Content-Type: application/json
|
||||
|
||||
HTTP 201
|
||||
[Captures]
|
||||
renee_user_id: jsonpath "$.id"
|
||||
renee_user_id: jsonpath "$.user.id"
|
||||
|
||||
|
||||
POST {{base_url}}/api/admin/users
|
||||
@@ -66,7 +66,7 @@ Content-Type: application/json
|
||||
|
||||
HTTP 201
|
||||
[Captures]
|
||||
sam_user_id: jsonpath "$.id"
|
||||
sam_user_id: jsonpath "$.user.id"
|
||||
|
||||
|
||||
POST {{base_url}}/api/auth/login
|
||||
|
||||
Reference in New Issue
Block a user