mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-08 04:13:41 -05:00
post-human test fixes
This commit is contained in:
@@ -85,7 +85,7 @@ from tests.conftest import SERVICE_ONE_ID, normalize_spaces
|
||||
),
|
||||
]),
|
||||
))
|
||||
@freeze_time("2012-01-01 01:01:01")
|
||||
@freeze_time("2012-01-01 06:01:01")
|
||||
def test_history(
|
||||
client_request,
|
||||
mock_get_service_history,
|
||||
|
||||
@@ -181,16 +181,16 @@ def test_notification_status_shows_expected_back_link(
|
||||
|
||||
|
||||
@pytest.mark.parametrize('time_of_viewing_page, expected_message', (
|
||||
('2012-01-01 01:01', (
|
||||
('2012-01-01 06:01', (
|
||||
"‘sample template’ was sent by Test User today at 1:01am"
|
||||
)),
|
||||
('2012-01-02 01:01', (
|
||||
('2012-01-02 06:01', (
|
||||
"‘sample template’ was sent by Test User yesterday at 1:01am"
|
||||
)),
|
||||
('2012-01-03 01:01', (
|
||||
('2012-01-03 06:01', (
|
||||
"‘sample template’ was sent by Test User on 1 January at 1:01am"
|
||||
)),
|
||||
('2013-01-03 01:01', (
|
||||
('2013-01-03 06:01', (
|
||||
"‘sample template’ was sent by Test User on 1 January 2012 at 1:01am"
|
||||
)),
|
||||
))
|
||||
|
||||
Reference in New Issue
Block a user