mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-18 13:39:41 -04:00
Say ‘1 hour/month ago’ not ‘an hour/a month ago’
I think it read better without the indefinite article when it’s, for example, placed alongside messages that read ‘2 hours ago’.
This commit is contained in:
@@ -262,9 +262,9 @@ def test_inbound_messages_shows_count_of_messages_when_there_are_no_messages(
|
||||
|
||||
|
||||
@pytest.mark.parametrize('index, expected_row', enumerate([
|
||||
'07900 900000 message-1 an hour ago',
|
||||
'07900 900000 message-2 an hour ago',
|
||||
'07900 900000 message-3 an hour ago',
|
||||
'07900 900000 message-1 1 hour ago',
|
||||
'07900 900000 message-2 1 hour ago',
|
||||
'07900 900000 message-3 1 hour ago',
|
||||
'07900 900002 message-4 3 hours ago',
|
||||
'07900 900004 message-5 5 hours ago',
|
||||
'07900 900006 message-6 7 hours ago',
|
||||
@@ -557,6 +557,9 @@ def test_returned_letters_shows_count_of_recently_returned_letters(
|
||||
('2020-01-25', (
|
||||
'0 returned letters latest report 8 days ago'
|
||||
)),
|
||||
('2020-01-01', (
|
||||
'0 returned letters latest report 1 month ago'
|
||||
)),
|
||||
('2019-09-09', (
|
||||
'0 returned letters latest report 4 months ago'
|
||||
)),
|
||||
|
||||
Reference in New Issue
Block a user