From e460d6a5899de605cf420c57733a4d36a9980baa Mon Sep 17 00:00:00 2001 From: sb-cecilialiu Date: Wed, 4 Dec 2024 08:48:59 -0600 Subject: [PATCH] MAT-7863 hapi fhir update --- pom.xml | 8 ++------ .../config/AssignTestCaseSequentialIdTest.java | 13 +++++++------ 2 files changed, 9 insertions(+), 12 deletions(-) diff --git a/pom.xml b/pom.xml index 2d8aaa85..e24a7ce1 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ org.springframework.boot spring-boot-starter-parent - 3.2.11 + 3.4.0 @@ -69,22 +69,18 @@ org.junit.jupiter junit-jupiter-api - ${junit-jupiter.version} org.junit.jupiter junit-jupiter - ${junit-jupiter.version} org.junit.jupiter junit-jupiter-params - ${junit-jupiter.version} org.junit.jupiter junit-jupiter-engine - ${junit-jupiter.version} @@ -147,7 +143,7 @@ ca.uhn.hapi.fhir hapi-fhir-structures-r4 - 6.4.0 + 7.6.0 okhttp diff --git a/src/test/java/cms/gov/madie/measure/config/AssignTestCaseSequentialIdTest.java b/src/test/java/cms/gov/madie/measure/config/AssignTestCaseSequentialIdTest.java index 38e3d858..762864f2 100644 --- a/src/test/java/cms/gov/madie/measure/config/AssignTestCaseSequentialIdTest.java +++ b/src/test/java/cms/gov/madie/measure/config/AssignTestCaseSequentialIdTest.java @@ -47,12 +47,13 @@ class AssignTestCaseSequentialIdTest { @BeforeEach public void setup() { - tc5 = TestCase.builder().id("TC5").name("TC%").createdAt(Instant.now()).build(); - tc1 = TestCase.builder().id("TC1").name("TC1").createdAt(Instant.now()).build(); - tc4 = TestCase.builder().id("TC4").name("TC4").createdAt(Instant.now()).build(); - tc3 = TestCase.builder().id("TC3").name("TC3").createdAt(Instant.now()).build(); - tc6 = TestCase.builder().id("TC6").name("TC6").createdAt(Instant.now()).build(); - tc2 = TestCase.builder().id("TC2").name("TC2").createdAt(Instant.now()).build(); + Instant now = Instant.now(); + tc5 = TestCase.builder().id("TC5").name("TC%").createdAt(now.plusSeconds(1)).build(); + tc1 = TestCase.builder().id("TC1").name("TC1").createdAt(now.plusSeconds(2)).build(); + tc4 = TestCase.builder().id("TC4").name("TC4").createdAt(now.plusSeconds(3)).build(); + tc3 = TestCase.builder().id("TC3").name("TC3").createdAt(now.plusSeconds(4)).build(); + tc6 = TestCase.builder().id("TC6").name("TC6").createdAt(now.plusSeconds(5)).build(); + tc2 = TestCase.builder().id("TC2").name("TC2").createdAt(now.plusSeconds(6)).build(); measure1 = Measure.builder()