fixing hurl test for api users (#36380)
Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>
This commit is contained in:
parent
4f5c32973f
commit
ff44d3ce3c
1 changed files with 4 additions and 1 deletions
|
|
@ -45,7 +45,10 @@ HTTP 400
|
|||
POST http://{{hostnport}}/api/index.php/users
|
||||
{}
|
||||
HTTP 500
|
||||
{"error":{"code":500,"message":"Internal Server Error: Error creating","0":"Email address is incorrect"}}
|
||||
[Asserts]
|
||||
jsonpath "$.error" exists
|
||||
jsonpath "$.error.code" == 500
|
||||
jsonpath "$.error.message" == "Internal Server Error: login field missing"
|
||||
|
||||
# DELETE
|
||||
DELETE http://{{hostnport}}/api/index.php/users/
|
||||
|
|
|
|||
Loading…
Reference in a new issue