diff --git a/jobs/involuntary-dissolutions/involuntary_dissolutions.py b/jobs/involuntary-dissolutions/involuntary_dissolutions.py index d4071c993c..02e0dde3ef 100644 --- a/jobs/involuntary-dissolutions/involuntary_dissolutions.py +++ b/jobs/involuntary-dissolutions/involuntary_dissolutions.py @@ -281,6 +281,7 @@ async def stage_3_process(app: Flask, qsm: QueueService): app.logger.debug(f'Created Involuntary Dissolution Filing with ID: {filing.id}') await put_filing_on_queue(filing.id, app, qsm) + batch_processing.filing_id = filing.id batch_processing.step = BatchProcessing.BatchProcessingStep.DISSOLUTION batch_processing.status = BatchProcessing.BatchProcessingStatus.COMPLETED app.logger.debug( diff --git a/jobs/involuntary-dissolutions/tests/unit/test_involuntary_dissolutions.py b/jobs/involuntary-dissolutions/tests/unit/test_involuntary_dissolutions.py index cea657f8bc..72ee6d0048 100644 --- a/jobs/involuntary-dissolutions/tests/unit/test_involuntary_dissolutions.py +++ b/jobs/involuntary-dissolutions/tests/unit/test_involuntary_dissolutions.py @@ -316,6 +316,7 @@ async def test_stage_3_process(app, session, test_name, status, step): await stage_3_process(app, qsm) if test_name == 'DISSOLVE_BUSINESS': mock_put_filing_on_queue.assert_called() + assert batch_processing.filing_id assert batch_processing.status == status assert batch_processing.step == step