Skip to content

Commit 301dfe9

Browse files
committed
Fix failing test
See gh-819
1 parent b4ff9b3 commit 301dfe9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-graphql/src/test/java/org/springframework/graphql/server/WebGraphQlRequestTests.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ void invalidBody() {
4545

4646
Map<String, Object> emptyOperations = new HashMap<>();
4747
emptyOperations.put("query", "query { foo }");
48-
emptyOperations.put("operation", Collections.emptyMap());
48+
emptyOperations.put("operationName", Collections.emptyMap());
4949
testInvalidBody(emptyOperations);
5050

5151
Map<String, Object> invalidVariables = new HashMap<>();

0 commit comments

Comments
 (0)