Skip to content

Commit 5b03767

Browse files
committed
create_immunization_test_logic
1 parent 091a81e commit 5b03767

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/tests/test_fhir_batch_repository.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def modify_immunization(self, remove_nhs):
4848

4949
def create_immunization_test_logic(self, is_present, remove_nhs):
5050
"""Common logic for testing immunization creation."""
51-
self.mock_redis_client.hget.side_effect = [None, 'COVID19']
51+
self.mock_redis_client.hget.side_effect = ['COVID19']
5252
self.modify_immunization(remove_nhs)
5353

5454
self.repository.create_immunization(

0 commit comments

Comments
 (0)