diff --git a/app/templates/partials/jobs/notifications.html b/app/templates/partials/jobs/notifications.html index 34254cfef..c3d26fc72 100644 --- a/app/templates/partials/jobs/notifications.html +++ b/app/templates/partials/jobs/notifications.html @@ -8,7 +8,7 @@
Download this report - Available for 7 days + Available for 7 days
{% endif %} diff --git a/tests/app/main/views/test_jobs.py b/tests/app/main/views/test_jobs.py index b2b59b295..2164327ef 100644 --- a/tests/app/main/views/test_jobs.py +++ b/tests/app/main/views/test_jobs.py @@ -98,6 +98,7 @@ def test_should_show_page_for_one_job( status=status_argument ) assert csv_link.text == 'Download this report' + assert page.find('span', {'id': 'time-left'}).text == 'Available for 7 days' mock_get_notifications.assert_called_with( service_one['id'], fake_uuid,