Skip to content

Commit ca5e840

Browse files
committed
[PRMP-846] fixing service tests
1 parent 69349da commit ca5e840

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lambdas/tests/unit/services/test_bulk_upload_service.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ def test_handle_sqs_message_calls_report_upload_failure_when_patient_record_alre
378378
mock_create_lg_records_and_copy_files.assert_not_called()
379379
mock_remove_ingested_file_from_source_bucket.assert_not_called()
380380
mock_report_upload_failure.assert_called_with(
381-
TEST_STAGING_METADATA, UploadStatus.FAILED, str(mocked_error), ""
381+
TEST_STAGING_METADATA, UploadStatus.FAILED, str(mocked_error), "Y12345"
382382
)
383383
repo_under_test.sqs_repository.send_message_to_pdf_stitching_queue.assert_not_called()
384384

@@ -416,7 +416,7 @@ def test_handle_sqs_message_calls_report_upload_failure_when_lg_file_name_invali
416416
TEST_STAGING_METADATA_WITH_INVALID_FILENAME,
417417
UploadStatus.FAILED,
418418
str(mocked_error),
419-
"",
419+
"Y12345"
420420
)
421421
repo_under_test.sqs_repository.send_message_to_pdf_stitching_queue.assert_not_called()
422422

0 commit comments

Comments
 (0)