diff --git a/test/hurl/api/users/10_users.hurl b/test/hurl/api/users/10_users.hurl index 31b1543387b..0d8c125443c 100644 --- a/test/hurl/api/users/10_users.hurl +++ b/test/hurl/api/users/10_users.hurl @@ -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/