mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-15 07:18:58 -04:00
Fix test to use a real status
This commit is contained in:
@@ -91,7 +91,7 @@
|
||||
</p>
|
||||
{% endcall %}
|
||||
|
||||
{{ text_field(item.status|capitalize|replace('-', ' ')) }}
|
||||
{{ text_field(item.status|format_notification_status) }}
|
||||
|
||||
{% call field(align='right') %}
|
||||
{{ item.updated_at|format_datetime_short }}
|
||||
|
||||
@@ -159,7 +159,7 @@ def notification_json(service_id,
|
||||
job=None,
|
||||
template=None,
|
||||
to='07123456789',
|
||||
status='sent',
|
||||
status='delivered',
|
||||
sent_at=None,
|
||||
created_at=None,
|
||||
updated_at=None,
|
||||
|
||||
@@ -47,7 +47,7 @@ def test_should_show_page_for_one_job(
|
||||
content = response.get_data(as_text=True)
|
||||
assert "{}: Your vehicle tax is about to expire".format(service_one['name']) in content
|
||||
assert file_name in content
|
||||
assert "Sent at 11:10" in content
|
||||
assert "Delivered at 11:10" in content
|
||||
|
||||
|
||||
def test_should_show_updates_for_one_job_as_json(
|
||||
|
||||
Reference in New Issue
Block a user