Another one issue in unit test linked to timezones. Test fails if current timezone differs from UTC.
Fix:
=== modified file 'common/src/test/java/uk/ac/rdg/resc/edal/util/ExtentsTest.java'
--- common/src/test/java/uk/ac/rdg/resc/edal/util/ExtentsTest.java 2016-04-07 18:48:35 +0000
+++ common/src/test/java/uk/ac/rdg/resc/edal/util/ExtentsTest.java 2016-07-19 10:40:34 +0000
@@ -31,6 +31,7 @@
import static org.junit.Assert.*;
Another one issue in unit test linked to timezones. Test fails if current timezone differs from UTC. Fix: === modified file 'common/src/test/java/uk/ac/rdg/resc/edal/util/ExtentsTest.java' --- common/src/test/java/uk/ac/rdg/resc/edal/util/ExtentsTest.java 2016-04-07 18:48:35 +0000 +++ common/src/test/java/uk/ac/rdg/resc/edal/util/ExtentsTest.java 2016-07-19 10:40:34 +0000 @@ -31,6 +31,7 @@ import static org.junit.Assert.*;
import org.joda.time.DateTime; +import org.joda.time.DateTimeZone; import org.junit.Before; import org.junit.Test;
@@ -215,7 +216,7 @@