Skip to content

Commit 55c5bef

Browse files
committed
Fix GraphQL tests for latest Spring GraphQL
1 parent 97ab596 commit 55c5bef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-integration-graphql/src/test/java/org/springframework/integration/graphql/outbound/GraphQlMessageHandlerTests.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ ExecutionGraphQlService graphQlService(GraphQlSource graphQlSource) {
316316

317317
@Bean
318318
GraphQlSource graphQlSource(AnnotatedControllerConfigurer annotatedDataFetcherConfigurer) {
319-
return GraphQlSource.builder()
319+
return GraphQlSource.schemaResourceBuilder()
320320
.schemaResources(new ClassPathResource("graphql/test-schema.graphqls"))
321321
.configureRuntimeWiring(annotatedDataFetcherConfigurer)
322322
.build();

0 commit comments

Comments
 (0)