Tag: spring-boot-test
-
GraphQlTester or GraphQLTestTemplate is not getting injected With SpringBoot 3.x
0 SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.MOCK) @AutoConfigureGraphQlTester class SpaceControllerTest { @Autowired private GraphQlTester graphQlTester; // below the test cases` Throwing exception : Unsatisfied dependency expressed through field ‘graphQlTester’: No qualifying bean of type ‘org.springframework.graphql.test.tester.GraphQlTester’ available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} I tried working on various options but not getting…