File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/graphql Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -237,15 +237,15 @@ void whenApplicationTaskExecutorIsDefinedThenAnnotatedControllerConfigurerShould
237
237
void whenCustomExecutorIsDefinedThenAnnotatedControllerConfigurerDoesNotUseIt () {
238
238
this .contextRunner .withUserConfiguration (CustomExecutorConfiguration .class ).run ((context ) -> {
239
239
AnnotatedControllerConfigurer annotatedControllerConfigurer = context
240
- .getBean (AnnotatedControllerConfigurer .class );
240
+ .getBean (AnnotatedControllerConfigurer .class );
241
241
assertThat (annotatedControllerConfigurer ).extracting ("executor" ).isNull ();
242
242
});
243
243
}
244
244
245
245
@ Test
246
246
void whenAHandlerMethodArgumentResolverIsDefinedThenAnnotatedControllerConfigurerShouldUseIt () {
247
- this .contextRunner .withUserConfiguration (CustomHandlerMethodArgumentResolverConfiguration .class ). run (( context ) -> assertThat ( context
248
- .getBean (AnnotatedControllerConfigurer .class ))
247
+ this .contextRunner .withUserConfiguration (CustomHandlerMethodArgumentResolverConfiguration .class )
248
+ . run (( context ) -> assertThat ( context .getBean (AnnotatedControllerConfigurer .class ))
249
249
.extracting ("customArgumentResolvers" )
250
250
.asInstanceOf (InstanceOfAssertFactories .LIST )
251
251
.hasSize (1 ));
@@ -352,6 +352,7 @@ static class CustomHandlerMethodArgumentResolverConfiguration {
352
352
HandlerMethodArgumentResolver customHandlerMethodArgumentResolver () {
353
353
return mock (HandlerMethodArgumentResolver .class );
354
354
}
355
+
355
356
}
356
357
357
358
}
You can’t perform that action at this time.
0 commit comments