mirror of
https://git.dirksys.ovh/dirk/bankserver.git
synced 2025-12-20 11:09:21 +01:00
fix user data tests
This commit is contained in:
parent
03d95f6d41
commit
c7c96a3595
@ -23,7 +23,7 @@ HTTP 200
|
|||||||
[Asserts]
|
[Asserts]
|
||||||
jsonpath "$" == null
|
jsonpath "$" == null
|
||||||
|
|
||||||
POST {{host}}/api/users/@me/data/test
|
PUT {{host}}/api/users/@me/data/test
|
||||||
Authorization: Bearer {{token}}
|
Authorization: Bearer {{token}}
|
||||||
{
|
{
|
||||||
"hello": "world"
|
"hello": "world"
|
||||||
@ -46,7 +46,7 @@ jsonpath "$" isCollection
|
|||||||
jsonpath "$" count == 1
|
jsonpath "$" count == 1
|
||||||
jsonpath "$[0]" == "test"
|
jsonpath "$[0]" == "test"
|
||||||
|
|
||||||
POST {{host}}/api/users/@me/data/test
|
PUT {{host}}/api/users/@me/data/test
|
||||||
Authorization: Bearer {{token}}
|
Authorization: Bearer {{token}}
|
||||||
null
|
null
|
||||||
HTTP 200
|
HTTP 200
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user