mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-05 16:38:59 -04:00
Include ‘created’ in ‘sending’ bucket
The difference between created and sending isn’t something a user should have to care about. So this commit: - counts created and sending as the same thing - displays and notifications which have a status of created as sending
This commit is contained in:
@@ -32,15 +32,11 @@ def test_should_return_list_of_all_jobs(app_,
|
||||
"status_argument, expected_api_call", [
|
||||
(
|
||||
'',
|
||||
['sending', 'delivered', 'failed', 'temporary-failure', 'permanent-failure', 'technical-failure']
|
||||
),
|
||||
(
|
||||
'processed',
|
||||
['sending', 'delivered', 'failed', 'temporary-failure', 'permanent-failure', 'technical-failure']
|
||||
['created', 'sending', 'delivered', 'failed', 'temporary-failure', 'permanent-failure', 'technical-failure']
|
||||
),
|
||||
(
|
||||
'sending',
|
||||
['sending']
|
||||
['sending', 'created']
|
||||
),
|
||||
(
|
||||
'delivered',
|
||||
@@ -180,11 +176,11 @@ def test_should_show_updates_for_one_job_as_json(
|
||||
"status_argument, expected_api_call", [
|
||||
(
|
||||
'',
|
||||
['sending', 'delivered', 'failed', 'temporary-failure', 'permanent-failure', 'technical-failure']
|
||||
['created', 'sending', 'delivered', 'failed', 'temporary-failure', 'permanent-failure', 'technical-failure']
|
||||
),
|
||||
(
|
||||
'sending',
|
||||
['sending']
|
||||
['sending', 'created']
|
||||
),
|
||||
(
|
||||
'delivered',
|
||||
|
||||
Reference in New Issue
Block a user