Skip to content

Commit 9ca4d30

Browse files
committed
Use a singleton PropertyFetcher by default - tweaked tests moar
1 parent 886d745 commit 9ca4d30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/groovy/graphql/schema/GraphQLCodeRegistryTest.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ class GraphQLCodeRegistryTest extends Specification {
288288

289289
// when nothing is specified then its a plain old PropertyDataFetcher
290290
def queryType = schema.getObjectType("Query")
291-
schema.getCodeRegistry().getDataFetcher(queryType, queryType.getFieldDefinition("neitherSpecified")) instanceof LightDataFetcher
291+
schema.getCodeRegistry().getDataFetcher(queryType, queryType.getFieldDefinition("neitherSpecified")) instanceof SingletonPropertyDataFetcher
292292
}
293293

294294
def "will detect system versus user data fetchers"() {

0 commit comments

Comments
 (0)