fixing hurl test for api users (#36380)

Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>
This commit is contained in:
Jon Bendtsen 2025-11-24 15:06:17 +01:00 committed by GitHub
parent 4f5c32973f
commit ff44d3ce3c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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/