mirror of
https://github.com/apache/struts.git
synced 2026-08-11 01:27:14 +00:00
[WW-4528] correcting testTwoExcludesPropertiesChained unit test
This commit is contained in:
@@ -130,8 +130,9 @@ public class ChainingInterceptorTest extends XWorkTestCase {
|
||||
assertEquals(bean.getBirth(), action.getBirth());
|
||||
assertEquals(null, action.getName());
|
||||
assertEquals(0, action.getCount());
|
||||
assertEquals(interceptor.getExcludes().iterator().next(), "count");
|
||||
assertEquals(interceptor.getExcludes().iterator().next(), "name");
|
||||
Iterator<String> it = interceptor.getExcludes().iterator();
|
||||
assertEquals(it.next(), "count");
|
||||
assertEquals(it.next(), "name");
|
||||
}
|
||||
|
||||
public void testNullCompoundRootElementAllowsProcessToContinue() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user