Skip to content

Commit

Permalink
Revert Post request to BFD
Browse files Browse the repository at this point in the history
  • Loading branch information
smirnovaae committed Jan 14, 2025
1 parent 951c93e commit d78cee3
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand All @@ -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(),
Expand All @@ -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(),
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit d78cee3

Please sign in to comment.