force US locale for tests

This commit is contained in:
Luboš Luňák
2017-09-18 22:33:00 +02:00
committed by Alinson Xavier
parent ba78e563cd
commit 46c61f9ea9
2 changed files with 25 additions and 4 deletions

View File

@@ -31,6 +31,14 @@ import static org.hamcrest.MatcherAssert.*;
public class DateUtilsTest extends BaseUnitTest
{
@Before
@Override
public void setUp() throws Exception
{
super.setUp();
DateUtils.setFixedLocale(Locale.US);
}
@Test
public void testFormatHeaderDate()
{