mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 07:46:23 -04:00
Don’t show status for individual letters
The status won’t ever change from sending for letters. For now at least. And even when we do come up with more useful statuses I’m not convinced it’s useful to expose them to our admin users. A more useful piece of information to show is when we think the letter will be delivered.
This commit is contained in:
@@ -1679,6 +1679,7 @@ def mock_get_notification(
|
||||
fake_uuid,
|
||||
notification_status='delivered',
|
||||
redact_personalisation=False,
|
||||
template_type=None,
|
||||
):
|
||||
def _get_notification(
|
||||
service_id,
|
||||
@@ -1687,7 +1688,8 @@ def mock_get_notification(
|
||||
noti = notification_json(
|
||||
service_id,
|
||||
rows=1,
|
||||
status=notification_status
|
||||
status=notification_status,
|
||||
template_type=template_type,
|
||||
)['notifications'][0]
|
||||
|
||||
noti['id'] = notification_id
|
||||
@@ -1702,6 +1704,7 @@ def mock_get_notification(
|
||||
'5407f4db-51c7-4150-8758-35412d42186a',
|
||||
content='hello ((name))',
|
||||
redact_personalisation=redact_personalisation,
|
||||
type_=template_type,
|
||||
)
|
||||
return noti
|
||||
|
||||
|
||||
Reference in New Issue
Block a user