Update aai-parent in babel to 1.13.3
[aai/babel.git] / src / test / java / org / onap / aai / babel / service / TestInfoService.java
index 647f1b0..cd2f3b3 100644 (file)
@@ -22,12 +22,12 @@ package org.onap.aai.babel.service;
 
 import static org.hamcrest.CoreMatchers.containsString;
 import static org.hamcrest.CoreMatchers.startsWith;
-import static org.junit.Assert.assertThat;
+import static org.hamcrest.MatcherAssert.assertThat;
 
 import java.time.Clock;
 import java.time.LocalDateTime;
 import java.time.ZoneOffset;
-import org.junit.Test;
+import org.junit.jupiter.api.Test;
 
 public class TestInfoService {
 
@@ -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());
     }
 
 }