mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 23:55:58 -05:00
return fake "received_by_notify" status for letter notifications
created and sending aren't quite as helpful for letters, since their journey through notify and our providers is so different to emails/sms. So instead, we should return estimated_dispatch_date (in a future PR) and the status should just read received_by_notify
This commit is contained in:
@@ -116,8 +116,9 @@ def test_notification_for_csv_returns_correct_job_row_number(notify_db, notify_d
|
||||
('sms', 'temporary-failure', 'Phone not accepting messages right now'),
|
||||
('sms', 'permanent-failure', 'Phone number doesn’t exist'),
|
||||
('sms', 'sent', 'Sent internationally'),
|
||||
('letter', 'permanent-failure', 'Permanent failure'),
|
||||
('letter', 'delivered', 'Delivered')
|
||||
('letter', 'created', 'Received by Notify'),
|
||||
('letter', 'sending', 'Received by Notify'),
|
||||
('letter', 'technical-failure', 'Technical failure')
|
||||
])
|
||||
def test_notification_for_csv_returns_formatted_status(
|
||||
notify_db,
|
||||
|
||||
Reference in New Issue
Block a user