From 8b7b527069816777ba0f8611c94779fc59d0273b Mon Sep 17 00:00:00 2001 From: Marius Merkevicius Date: Mon, 17 Oct 2016 09:03:00 +0300 Subject: [PATCH] Test update --- src/test/java/net/rcarz/jiraclient/WorklogTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/test/java/net/rcarz/jiraclient/WorklogTest.java b/src/test/java/net/rcarz/jiraclient/WorklogTest.java index be3e4f1..2d2ce68 100644 --- a/src/test/java/net/rcarz/jiraclient/WorklogTest.java +++ b/src/test/java/net/rcarz/jiraclient/WorklogTest.java @@ -10,6 +10,7 @@ import java.text.ParsePosition; import java.text.SimpleDateFormat; import java.util.Date; import java.util.List; +import java.util.Locale; import static junit.framework.Assert.assertEquals; import static org.mockito.Matchers.anyString; @@ -17,7 +18,7 @@ import static org.mockito.Matchers.anyString; @RunWith(PowerMockRunner.class) public class WorklogTest { - private SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS"); + private SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS", Locale.ENGLISH); @Test(expected = JiraException.class) public void testJiraExceptionFromRestException() throws Exception {