mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-31 23:26:23 -05:00
make create_letters_pdf always use right queue
create-letters-pdf-tasks is for contacting template preview. letters-tasks is for doing other things around letters (including putting things on template preview queue)
This commit is contained in:
@@ -309,8 +309,8 @@ def test_replay_created_notifications_create_letters_pdf_tasks_for_letters_not_r
|
||||
|
||||
replay_created_notifications()
|
||||
|
||||
calls = [call([str(notification_1.id)], queue=QueueNames.LETTERS),
|
||||
call([str(notification_2.id)], queue=QueueNames.LETTERS),
|
||||
calls = [call([str(notification_1.id)], queue=QueueNames.CREATE_LETTERS_PDF),
|
||||
call([str(notification_2.id)], queue=QueueNames.CREATE_LETTERS_PDF),
|
||||
]
|
||||
mock_task.assert_has_calls(calls, any_order=True)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user