@@ -18,7 +18,7 @@ Feature: Authorization checking
1818 Then the response status code should be 200
1919 And the response should be in JSON
2020 And the header "Content-Type" should be equal to "application/json"
21- And the JSON node "errors[0].status" should be equal to 403
21+ And the JSON node "errors[0].extensions. status" should be equal to 403
2222 And the JSON node "errors[0].extensions.category" should be equal to user
2323 And the JSON node "errors[0].message" should be equal to "Access Denied."
2424
@@ -40,7 +40,7 @@ Feature: Authorization checking
4040 Then the response status code should be 200
4141 And the response should be in JSON
4242 And the header "Content-Type" should be equal to "application/json"
43- And the JSON node "errors[0].status" should be equal to 403
43+ And the JSON node "errors[0].extensions. status" should be equal to 403
4444 And the JSON node "errors[0].extensions.category" should be equal to user
4545 And the JSON node "errors[0].message" should be equal to "Access Denied."
4646
@@ -83,7 +83,7 @@ Feature: Authorization checking
8383 And the response should be in JSON
8484 And the header "Content-Type" should be equal to "application/json"
8585 And the JSON node "data.securedDummies" should be null
86- And the JSON node "errors[0].status" should be equal to 403
86+ And the JSON node "errors[0].extensions. status" should be equal to 403
8787 And the JSON node "errors[0].extensions.category" should be equal to user
8888 And the JSON node "errors[0].message" should be equal to "Access Denied."
8989
@@ -102,7 +102,7 @@ Feature: Authorization checking
102102 Then the response status code should be 200
103103 And the response should be in JSON
104104 And the header "Content-Type" should be equal to "application/json"
105- And the JSON node "errors[0].status" should be equal to 403
105+ And the JSON node "errors[0].extensions. status" should be equal to 403
106106 And the JSON node "errors[0].extensions.category" should be equal to user
107107 And the JSON node "errors[0].message" should be equal to "Only admins can create a secured dummy."
108108
@@ -159,7 +159,7 @@ Feature: Authorization checking
159159 Then the response status code should be 200
160160 And the response should be in JSON
161161 And the header "Content-Type" should be equal to "application/json"
162- And the JSON node "errors[0].status" should be equal to 403
162+ And the JSON node "errors[0].extensions. status" should be equal to 403
163163 And the JSON node "errors[0].extensions.category" should be equal to user
164164 And the JSON node "errors[0].message" should be equal to "Access Denied."
165165
@@ -196,7 +196,7 @@ Feature: Authorization checking
196196 Then the response status code should be 200
197197 And the response should be in JSON
198198 And the header "Content-Type" should be equal to "application/json"
199- And the JSON node "errors[0].status" should be equal to 403
199+ And the JSON node "errors[0].extensions. status" should be equal to 403
200200 And the JSON node "errors[0].extensions.category" should be equal to user
201201 And the JSON node "errors[0].message" should be equal to "Access Denied."
202202
0 commit comments