File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -519,7 +519,7 @@ def test_get_items_from_patient_id_success(self):
519519 # Verify query was called with correct parameters
520520 self .mock_table .query .assert_called_once ()
521521
522- def test_get_items_from_patient_pk_no_records (self ):
522+ def test_get_items_from_patient_id_no_records (self ):
523523 """Test when no records are found for the patient ID"""
524524 # Arrange
525525 patient_id = "test-patient-no-records"
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ def test_process_record_no_records_exist(self):
8282 result = process_record (test_record )
8383
8484 # Assert
85- self .assertEqual (result ["status" ], "error " )
85+ self .assertEqual (result ["status" ], "success " )
8686 self .assertEqual (result ["message" ], f"No records returned for ID: { test_id } " )
8787
8888 # Verify PDS was not called
@@ -110,7 +110,7 @@ def test_process_record_ieds_returns_false(self):
110110 self .mock_ieds_check_exist .return_value = False
111111 # Act & Assert
112112 result = process_record ({"body" : {"subject" : test_id }})
113- self .assertEqual (result ["status" ], "error " )
113+ self .assertEqual (result ["status" ], "success " )
114114 self .assertEqual (result ["message" ], f"No records returned for ID: { test_id } " )
115115
116116 def test_body_is_string (self ):
You can’t perform that action at this time.
0 commit comments