diff --git a/ab2d-bfd/src/test/java/gov/cms/ab2d/bfd/client/BlueButtonClientSTU3Test.java b/ab2d-bfd/src/test/java/gov/cms/ab2d/bfd/client/BlueButtonClientSTU3Test.java index 5ff9cd0..36a643e 100644 --- a/ab2d-bfd/src/test/java/gov/cms/ab2d/bfd/client/BlueButtonClientSTU3Test.java +++ b/ab2d-bfd/src/test/java/gov/cms/ab2d/bfd/client/BlueButtonClientSTU3Test.java @@ -92,7 +92,7 @@ public static void setupBFDClient() throws IOException { for (String patientId : TEST_PATIENT_IDS) { MockUtils.createMockServerExpectation( - "/v1/fhir/Patient" + patientId, + "/v1/fhir/Patient/" + patientId, HttpStatus.SC_OK, getRawJson(SAMPLE_PATIENT_PATH_PREFIX + patientId + ".json"), List.of(), @@ -119,7 +119,7 @@ public static void setupBFDClient() throws IOException { // Patient that exists, but has no records MockUtils.createMockServerExpectation( - "/v1/fhir/Patient" + TEST_NO_RECORD_PATIENT_ID, + "/v1/fhir/Patient/" + TEST_NO_RECORD_PATIENT_ID, HttpStatus.SC_OK, getRawJson(SAMPLE_PATIENT_PATH_PREFIX + TEST_NO_RECORD_PATIENT_ID + ".json"), List.of(), @@ -135,7 +135,7 @@ public static void setupBFDClient() throws IOException { ); MockUtils.createMockServerExpectation( - "/v1/fhir/Patient" + TEST_NO_RECORD_PATIENT_ID_MBI, + "/v1/fhir/Patient/" + TEST_NO_RECORD_PATIENT_ID_MBI, HttpStatus.SC_OK, getRawJson(SAMPLE_PATIENT_PATH_PREFIX + TEST_NO_RECORD_PATIENT_ID_MBI + ".json"), List.of(), @@ -166,7 +166,7 @@ public static void setupBFDClient() throws IOException { for (String month : CONTRACT_MONTHS) { MockUtils.createMockServerExpectation( - "/v1/fhir/Patient", + "/v1/fhir/Patient/", HttpStatus.SC_OK, getRawJson(SAMPLE_PATIENT_PATH_PREFIX + "/bundle/patientbundle.json"), List.of(Parameter.param("_has:Coverage.extension",