Align test with Spring MVC's internals once again
The internals have been updated so that the field that was originally
used, interceptors, can be used again.
This reverts commit 2a1bca6806.
This commit is contained in:
@@ -148,7 +148,7 @@ public class EndpointWebMvcAutoConfigurationTests {
|
||||
assertContent("/endpoint", ports.get().management, "endpointoutput");
|
||||
List<?> interceptors = (List<?>) ReflectionTestUtils.getField(
|
||||
this.applicationContext.getBean(EndpointHandlerMapping.class),
|
||||
"handlerInterceptors");
|
||||
"interceptors");
|
||||
assertEquals(1, interceptors.size());
|
||||
this.applicationContext.close();
|
||||
assertAllClosed();
|
||||
|
||||
Reference in New Issue
Block a user