From 55c5bef6fad41d0c6ad16c61c6eac8d103079261 Mon Sep 17 00:00:00 2001 From: Artem Bilan Date: Wed, 20 Apr 2022 11:01:27 -0400 Subject: [PATCH] Fix GraphQL tests for latest Spring GraphQL --- .../graphql/outbound/GraphQlMessageHandlerTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-integration-graphql/src/test/java/org/springframework/integration/graphql/outbound/GraphQlMessageHandlerTests.java b/spring-integration-graphql/src/test/java/org/springframework/integration/graphql/outbound/GraphQlMessageHandlerTests.java index 546b41855f..71815ff00e 100644 --- a/spring-integration-graphql/src/test/java/org/springframework/integration/graphql/outbound/GraphQlMessageHandlerTests.java +++ b/spring-integration-graphql/src/test/java/org/springframework/integration/graphql/outbound/GraphQlMessageHandlerTests.java @@ -316,7 +316,7 @@ public class GraphQlMessageHandlerTests { @Bean GraphQlSource graphQlSource(AnnotatedControllerConfigurer annotatedDataFetcherConfigurer) { - return GraphQlSource.builder() + return GraphQlSource.schemaResourceBuilder() .schemaResources(new ClassPathResource("graphql/test-schema.graphqls")) .configureRuntimeWiring(annotatedDataFetcherConfigurer) .build();