mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-06-19 20:52:32 -04:00
Fix test that fails after 5:30pm
When someone goes to report a problem out of business hours they get redirected to the page that asks them whether or not its an emergency. This test was not expecting that redirect. This commit fixes it by freezing the time around lunchtime on a Wednesday.
This commit is contained in:
@@ -475,6 +475,7 @@ def test_triage_redirects_to_correct_url(
|
||||
partial(url_for, 'main.support')
|
||||
),
|
||||
])
|
||||
@freeze_time('2012-12-12 12:12')
|
||||
def test_back_link_from_form(
|
||||
client_request,
|
||||
mock_get_non_empty_organisations_and_services_for_user,
|
||||
|
||||
Reference in New Issue
Block a user