From 1ea47947c56928a74ab10a6b9579d957e4c5afec Mon Sep 17 00:00:00 2001 From: dotasek Date: Fri, 23 Aug 2024 16:40:36 -0400 Subject: [PATCH] Bump to HAPI 7.4.0 + fix smoke test for new HTTPClient --- pom.xml | 2 +- src/test/smoketest/plain_server.http | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 83a2dec..fdd677c 100644 --- a/pom.xml +++ b/pom.xml @@ -14,7 +14,7 @@ ca.uhn.hapi.fhir hapi-fhir - 7.3.14-SNAPSHOT + 7.4.0 hapi-fhir-jpaserver-starter diff --git a/src/test/smoketest/plain_server.http b/src/test/smoketest/plain_server.http index ff159a4..3899f03 100644 --- a/src/test/smoketest/plain_server.http +++ b/src/test/smoketest/plain_server.http @@ -87,7 +87,8 @@ Content-Type: application/json }); const batch_patient_location = response.body.entry[0].response.location; const indexOfHistory = batch_patient_location.lastIndexOf("/_history"); - trimmed_location = batch_patient_location.substring(0, indexOfHistory); + client.log("Batch Patient Location: " + batch_patient_location); + var trimmed_location = batch_patient_location.substring(0, indexOfHistory); trimmed_location = trimmed_location.replace("Patient/", "") client.global.set("batch_patient_id", trimmed_location); %}