mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-25 10:29:14 -04:00
Stop showing validation-failed letters as cancelled in table
Changed the table for displaying all notifications to show letters which have the status of 'validation-failed' as 'Validation failed' instead of 'Cancelled'. The individual notification page for a letter which has failed validation has not been changed since this already has a description (letter has content outside the printable area).
This commit is contained in:
@@ -602,10 +602,10 @@ def test_big_numbers_and_search_dont_show_for_letters(
|
||||
('sms', 'delivered', 'Delivered 27 September at 5:31pm', True),
|
||||
('letter', 'delivered', '27 September at 5:30pm', True),
|
||||
('letter', 'permanent-failure', 'Cancelled 27 September at 5:31pm', False),
|
||||
('letter', 'validation-failed', 'Cancelled 27 September at 5:30pm', False),
|
||||
('letter', 'validation-failed', 'Validation failed 27 September at 5:30pm', False),
|
||||
]
|
||||
)
|
||||
def test_sending_status_hint_does_not_include_status_for_letters(
|
||||
def test_sending_status_hint_displays_correctly_on_notifications_page(
|
||||
client_request,
|
||||
service_one,
|
||||
active_user_with_permissions,
|
||||
|
||||
Reference in New Issue
Block a user