aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Knall <t.knall@datentechnik-innovation.com>2014-11-25 13:01:35 +0100
committerThomas Knall <t.knall@datentechnik-innovation.com>2014-11-25 13:01:35 +0100
commitfb97db9b264b65bc87963eee719c2e433488853c (patch)
tree819b381849e33fa16107538b81150664cddf4168
parentd01c8e2a11d142f94c4834f2e2c61afd4b267c03 (diff)
downloadmoa-id-spss-fb97db9b264b65bc87963eee719c2e433488853c.tar.gz
moa-id-spss-fb97db9b264b65bc87963eee719c2e433488853c.tar.bz2
moa-id-spss-fb97db9b264b65bc87963eee719c2e433488853c.zip
Fix buggy test.
-rw-r--r--common/src/test/java/test/at/gv/egovernment/moa/util/DateTimeUtilsTest.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/src/test/java/test/at/gv/egovernment/moa/util/DateTimeUtilsTest.java b/common/src/test/java/test/at/gv/egovernment/moa/util/DateTimeUtilsTest.java
index 5b7a92004..e3468b89f 100644
--- a/common/src/test/java/test/at/gv/egovernment/moa/util/DateTimeUtilsTest.java
+++ b/common/src/test/java/test/at/gv/egovernment/moa/util/DateTimeUtilsTest.java
@@ -51,7 +51,8 @@ public class DateTimeUtilsTest extends TestCase {
public void testParseDateTimeValid() throws Exception {
Date date;
- DateFormat format = SimpleDateFormat.getDateTimeInstance();
+ DateFormat format = new SimpleDateFormat("dd.MM.yyyy HH:mm:ss");
+
String dateStr;
format.setTimeZone(TimeZone.getTimeZone("GMT"));