Skip to content

Commit 0d9cde8

Browse files
committed
Setting TZ invariant for test data.
1 parent 8af8768 commit 0d9cde8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/org/zalando/typemapper/AbstractTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public void setUp() throws Exception {
6868

6969
execute("CREATE TABLE tmp.test_time(lt timestamp without time zone, gt timestamp with time zone, zone text);");
7070
execute(
71-
"INSERT INTO tmp.test_time(lt, gt, zone) VALUES ('2012-07-30 16:00:00' AT TIME ZONE 'UTC', '2012-07-30 16:00:00+0', 'utc'), ('2012-07-30 16:00:00' AT TIME ZONE 'UTC', '2012-07-30 18:00:00+2', 'cest'), ('2012-07-30 19:00:00' AT TIME ZONE 'UTC', '2012-08-01 04:00:00+09', 'japan');");
71+
"INSERT INTO tmp.test_time(lt, gt, zone) VALUES ('2012-07-30 16:00:00+0' AT TIME ZONE 'UTC', '2012-07-30 16:00:00+0', 'utc'), ('2012-07-30 16:00:00+2' AT TIME ZONE 'UTC', '2012-07-30 18:00:00+2', 'cest'), ('2012-07-30 19:00:00+2' AT TIME ZONE 'UTC', '2012-08-01 04:00:00+09', 'japan');");
7272

7373
final String test_time_sproc =
7474
"CREATE OR REPLACE FUNCTION tmp.test_time_function(OUT id smallint, OUT msg text) " + "RETURNS record AS "

0 commit comments

Comments
 (0)