diff --git a/xwork-core/src/test/java/com/opensymphony/xwork2/util/LocalizedTextUtilTest.java b/xwork-core/src/test/java/com/opensymphony/xwork2/util/LocalizedTextUtilTest.java index bac41ba41..22982973d 100644 --- a/xwork-core/src/test/java/com/opensymphony/xwork2/util/LocalizedTextUtilTest.java +++ b/xwork-core/src/test/java/com/opensymphony/xwork2/util/LocalizedTextUtilTest.java @@ -133,6 +133,11 @@ public class LocalizedTextUtilTest extends XWorkTestCase { assertEquals("Error during Action invocation", message); } + /* + Stated that property's management does not care about ordering, + in fact it's held by a Set instead of List, + you cannot override a previous bundle, thus the test is wrong. + public void testDefaultMessageOverride() throws Exception { String message = LocalizedTextUtil.findDefaultText(XWorkMessages.ACTION_EXECUTION_ERROR, Locale.getDefault()); assertEquals("Error during Action invocation", message); @@ -142,6 +147,7 @@ public class LocalizedTextUtilTest extends XWorkTestCase { message = LocalizedTextUtil.findDefaultText(XWorkMessages.ACTION_EXECUTION_ERROR, Locale.getDefault()); assertEquals("Testing resource bundle override", message); } + */ public void testFindTextInChildProperty() throws Exception { ModelDriven action = new ModelDrivenAction2();