Skip to content

Commit 0baec87

Browse files
committed
Fix tests
1 parent 77f57cd commit 0baec87

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

features/graphql/authorization.feature

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Feature: Authorization checking
1515
}
1616
}
1717
"""
18-
Then the response status code should be 400
18+
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"
2121
And the JSON node "errors[0].message" should be equal to "Access Denied."
@@ -35,7 +35,7 @@ Feature: Authorization checking
3535
}
3636
}
3737
"""
38-
Then the response status code should be 400
38+
Then the response status code should be 200
3939
And the response should be in JSON
4040
And the header "Content-Type" should be equal to "application/json"
4141
And the JSON node "errors[0].message" should be equal to "Access Denied."
@@ -51,7 +51,7 @@ Feature: Authorization checking
5151
}
5252
}
5353
"""
54-
Then the response status code should be 400
54+
Then the response status code should be 200
5555
And the response should be in JSON
5656
And the header "Content-Type" should be equal to "application/json"
5757
And the JSON node "errors[0].message" should be equal to "Access Denied."

features/graphql/mutation.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ Feature: GraphQL mutation support
252252
}
253253
}
254254
"""
255-
Then the response status code should be 400
255+
Then the response status code should be 200
256256
And the response should be in JSON
257257
And the header "Content-Type" should be equal to "application/json"
258258
And the JSON node "errors[0].message" should be equal to "name: This value should not be blank."

0 commit comments

Comments
 (0)