Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.5
-
None
Description
DateFormatUtilsTest.testSMTP depends on the default Locale and expects this to be Locale.EN. When running the test with the different default Locale (e.g. Locale.GERMANY) it will fail with the following message:
org.junit.ComparisonFailure: Expected :Sun, 08 Jun 2003 10:11:12 -0300 Actual :So, 08 Jun 2003 10:11:12 -0300
Solution: Set the default Locale before the test runs and reset it afterwards.
Attachments
Issue Links
- is related to
-
LANG-1127 Use JUnit rules to set and reset the default Locale and TimeZone
- Closed