Update field that’s checked reflectively to match Spring MVC’s internals
This commit is contained in:
		
							parent
							
								
									9be1d158a6
								
							
						
					
					
						commit
						2a1bca6806
					
				| 
						 | 
					@ -148,7 +148,7 @@ public class EndpointWebMvcAutoConfigurationTests {
 | 
				
			||||||
		assertContent("/endpoint", ports.get().management, "endpointoutput");
 | 
							assertContent("/endpoint", ports.get().management, "endpointoutput");
 | 
				
			||||||
		List<?> interceptors = (List<?>) ReflectionTestUtils.getField(
 | 
							List<?> interceptors = (List<?>) ReflectionTestUtils.getField(
 | 
				
			||||||
				this.applicationContext.getBean(EndpointHandlerMapping.class),
 | 
									this.applicationContext.getBean(EndpointHandlerMapping.class),
 | 
				
			||||||
				"interceptors");
 | 
									"handlerInterceptors");
 | 
				
			||||||
		assertEquals(1, interceptors.size());
 | 
							assertEquals(1, interceptors.size());
 | 
				
			||||||
		this.applicationContext.close();
 | 
							this.applicationContext.close();
 | 
				
			||||||
		assertAllClosed();
 | 
							assertAllClosed();
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue