mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-05 16:38:59 -04:00
Cancelled notifications do not show as failures on dashboard stats
Also update tests after we no longer show cancelled letters
This commit is contained in:
@@ -40,7 +40,7 @@ from werkzeug.datastructures import MultiDict
|
||||
SENDING_STATUSES = ['created', 'pending', 'sending', 'pending-virus-check']
|
||||
DELIVERED_STATUSES = ['delivered', 'sent', 'returned-letter']
|
||||
FAILURE_STATUSES = ['failed', 'temporary-failure', 'permanent-failure',
|
||||
'technical-failure', 'virus-scan-failed', 'cancelled']
|
||||
'technical-failure', 'virus-scan-failed']
|
||||
REQUESTED_STATUSES = SENDING_STATUSES + DELIVERED_STATUSES + FAILURE_STATUSES
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user