Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.0.0.RC1
-
None
Description
When building SWF, one of the tests fails as follows:
[junit] Testcase: testRenderWithBindingModel(org.springframework.webflow.mvc.view.MvcViewTests): FAILED
[junit] expected:<Jan 1, 2008> but was:<1-jan-2008>
[junit] junit.framework.AssertionFailedError: expected:<Jan 1, 2008> but was:<1-jan-2008>
[junit] at org.springframework.webflow.mvc.view.MvcViewTests.testRenderWithBindingModel(MvcViewTests.java:80)
MvcViewTests.testRenderWithBindingModel is relying on a US locale. Either the expected result shouldn't be a fixed String, or a dedicated Formatter should be used that always produces US date representations.