mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-04 12:28:24 -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:
@@ -53,7 +53,7 @@ from tests.conftest import (
|
||||
'created', 'pending', 'sending', 'pending-virus-check',
|
||||
'delivered', 'sent', 'returned-letter',
|
||||
'failed', 'temporary-failure', 'permanent-failure', 'technical-failure',
|
||||
'virus-scan-failed', 'cancelled',
|
||||
'virus-scan-failed',
|
||||
]
|
||||
),
|
||||
(
|
||||
@@ -66,7 +66,7 @@ from tests.conftest import (
|
||||
),
|
||||
(
|
||||
'failed',
|
||||
['failed', 'temporary-failure', 'permanent-failure', 'technical-failure', 'virus-scan-failed', 'cancelled']
|
||||
['failed', 'temporary-failure', 'permanent-failure', 'technical-failure', 'virus-scan-failed']
|
||||
)
|
||||
]
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user