Skip to content

Commit 2c707d4

Browse files
committed
Fix test
1 parent 169d317 commit 2c707d4

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/test/groovy/graphql/kickstart/tools/SchemaParserSpec.groovy

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ class SchemaParserSpec extends Specification {
383383
id: ID!
384384
c: C
385385
}
386-
type Query {}
386+
type Query { test: Boolean }
387387
type Mutation {
388388
test(input: A!): Boolean
389389
testC(input: C!): Boolean
@@ -394,17 +394,23 @@ class SchemaParserSpec extends Specification {
394394
String id;
395395
B b;
396396
}
397+
397398
static class B {
398399
String id;
399400
A a;
400401
}
402+
401403
static class C {
402404
String id;
403405
C c;
404406
}
407+
405408
boolean test(A a) { return true }
409+
406410
boolean testC(C c) { return true }
407-
}, new GraphQLQueryResolver() {})
411+
}, new GraphQLQueryResolver() {
412+
boolean test() { false }
413+
})
408414
.build()
409415
.makeExecutableSchema()
410416

0 commit comments

Comments
 (0)