Skip to content
This repository was archived by the owner on Dec 19, 2023. It is now read-only.

Commit fdb32f4

Browse files
fix: compile error on Java 8
1 parent 104d152 commit fdb32f4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

graphql-spring-boot-test/src/test/java/com/graphql/spring/boot/test/GraphQLTestTemplateIntegrationTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,8 @@ void testPerformWithVariablesAndFragments() throws IOException {
9797
variables.put("bar", customBar);
9898
final FooBar expected = new FooBar(customFoo, customBar);
9999
// WHEN - THEN
100-
graphQLTestTemplate.perform(SIMPLE_TEST_QUERY_WITH_FRAGMENTS, variables, List.of(TEST_FRAGMENT_FILE))
100+
graphQLTestTemplate
101+
.perform(SIMPLE_TEST_QUERY_WITH_FRAGMENTS, variables, Collections.singletonList(TEST_FRAGMENT_FILE))
101102
.assertThatNoErrorsArePresent()
102103
.assertThatField("$.data.fooBar")
103104
.as(FooBar.class).usingRecursiveComparison().ignoringAllOverriddenEquals().isEqualTo(expected);

0 commit comments

Comments
 (0)