kusalk commented on code in PR #666: URL: https://github.com/apache/struts/pull/666#discussion_r1124354941
########## core/src/test/java/org/apache/struts2/dispatcher/DispatcherTest.java: ########## @@ -287,9 +283,6 @@ public void testInterceptorDestroy() { Mock mockContainer = new Mock(Container.class); mockContainer.matchAndReturn("getInstance", C.args(C.eq(ObjectFactory.class)), new ObjectFactory()); - String reloadConfigs = container.getInstance(String.class, StrutsConstants.STRUTS_CONFIGURATION_XML_RELOAD); - mockContainer.expectAndReturn("getInstance", C.args(C.eq(String.class), C.eq(StrutsConstants.STRUTS_CONFIGURATION_XML_RELOAD)), Review Comment: We no longer expect a 2nd reload in these tests as it was unnecessary. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@struts.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org