Skip to content

Commit

Permalink
Align test with Spring MVC's internals once again
Browse files Browse the repository at this point in the history
The internals have been updated so that the field that was originally
used, interceptors, can be used again.

This reverts commit 2a1bca6.
  • Loading branch information
wilkinsona committed May 20, 2015
1 parent b26a650 commit 3eb5c34
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ public void onDifferentPort() throws Exception {
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();
Expand Down

0 comments on commit 3eb5c34

Please sign in to comment.