Skip to content

Commit 77912b9

Browse files
committed
[NDR-314] Change tests to reflect changes introduced by another ticket
1 parent 66687e1 commit 77912b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lambdas/tests/unit/services/test_pdm_upload_document_reference_service.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ def test_fetch_preliminary_document_reference_success(
167167

168168
assert result == mock_pdm_document_reference
169169
pdm_service.document_service.fetch_documents_from_table.assert_called_once_with(
170-
table=MOCK_PDM_TABLE_NAME,
170+
table_name=MOCK_PDM_TABLE_NAME,
171171
search_condition=document_key,
172172
search_key="ID",
173173
query_filter=PreliminaryStatus,
@@ -412,7 +412,7 @@ def test_update_dynamo_table_clean_scan_result(
412412

413413
pdm_service.document_service.update_document.assert_called_once_with(
414414
table_name=MOCK_PDM_TABLE_NAME,
415-
document_reference=mock_pdm_document_reference,
415+
document=mock_pdm_document_reference,
416416
update_fields_name={
417417
"virus_scanner_result",
418418
"doc_status",

0 commit comments

Comments
 (0)