Skip to content

Commit 1268a3f

Browse files
committed
Sort conflicts post rebasing
1 parent 26bb8eb commit 1268a3f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

backend/tests/repository/test_fhir_repository.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -687,15 +687,15 @@ def run_update_immunization_test(self, imms_id, imms, updated_dose_quantity=None
687687
def test_decimal_on_update(self):
688688
"""it should update record when replacing doseQuantity and keep decimal precision"""
689689
imms_id = "an-imms-id"
690-
imms = create_covid_19_immunization_dict(imms_id, VALID_NHS_NUMBER)
690+
imms = create_covid_immunization_dict(imms_id, VALID_NHS_NUMBER)
691691
updated_dose_quantity = 0.7566
692692
imms["doseQuantity"]["value"] = updated_dose_quantity
693693
self.run_update_immunization_test(imms_id, imms, updated_dose_quantity)
694694

695695
def test_decimal_on_update_patient(self):
696696
"""it should update record by replacing both Immunization and Patient and dose quantity"""
697697
imms_id = "an-imms-id"
698-
imms = create_covid_19_immunization_dict(imms_id, VALID_NHS_NUMBER)
698+
imms = create_covid_immunization_dict(imms_id, VALID_NHS_NUMBER)
699699
updated_dose_quantity = 0.7566
700700
imms["doseQuantity"]["value"] = updated_dose_quantity
701701
imms["patient"] = self.patient

backend/tests/service/test_fhir_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ def setUp(self):
441441
self.authoriser = create_autospec(Authoriser)
442442
self.imms_repo = create_autospec(ImmunizationRepository)
443443
self.fhir_service = FhirService(self.imms_repo, self.authoriser)
444-
self.mock_redis_client.hget.return_value = "COVID19"
444+
self.mock_redis_client.hget.return_value = "COVID"
445445

446446
def test_update_immunization(self):
447447
"""it should update Immunization and validate NHS number"""

0 commit comments

Comments
 (0)