From ff44d3ce3cee7077f7d78f70be3d8f43698685c7 Mon Sep 17 00:00:00 2001 From: Jon Bendtsen Date: Mon, 24 Nov 2025 15:06:17 +0100 Subject: [PATCH] fixing hurl test for api users (#36380) Co-authored-by: Jon Bendtsen --- test/hurl/api/users/10_users.hurl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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/