Do not apply timezone offsets to the test Clock
[aai/babel.git] / src / test / java / org / onap / aai / babel / service / TestInfoService.java
index 647f1b0..d481b9a 100644 (file)
@@ -63,7 +63,7 @@ public class TestInfoService {
     }
 
     private Clock buildClock(LocalDateTime dateTime) {
-        return Clock.fixed(dateTime.toInstant(ZoneOffset.UTC), Clock.systemDefaultZone().getZone());
+        return Clock.fixed(dateTime.toInstant(ZoneOffset.UTC), Clock.systemUTC().getZone());
     }
 
 }