From 67cffc22b64edb8e729975d4ef69738f689ab024 Mon Sep 17 00:00:00 2001 From: Rebecca Law Date: Thu, 20 Dec 2018 17:03:46 +0000 Subject: [PATCH] Oops it missed the limit --- .../test_notification_dao_delete_notifications.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/app/dao/notification_dao/test_notification_dao_delete_notifications.py b/tests/app/dao/notification_dao/test_notification_dao_delete_notifications.py index 8c39c4ccb..4b3d8c9e8 100644 --- a/tests/app/dao/notification_dao/test_notification_dao_delete_notifications.py +++ b/tests/app/dao/notification_dao/test_notification_dao_delete_notifications.py @@ -182,7 +182,7 @@ def test_delete_notifications_does_try_to_delete_from_s3_when_letter_has_not_bee create_notification(template=letter_template, status='sending', reference='LETTER_REF') - delete_notifications_created_more_than_a_week_ago_by_type('email') + delete_notifications_created_more_than_a_week_ago_by_type('email', qry_limit=1) mock_get_s3.assert_not_called()