mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 07:46:23 -04:00
Make the date take up less space
This commit is contained in:
@@ -45,7 +45,7 @@
|
|||||||
{% endcall %}
|
{% endcall %}
|
||||||
{% if item.expiry_date %}
|
{% if item.expiry_date %}
|
||||||
{% call field(align='right') %}
|
{% call field(align='right') %}
|
||||||
Revoked {{ item.expiry_date|format_datetime }}
|
Revoked {{ item.expiry_date|format_datetime_short }}
|
||||||
{% endcall %}
|
{% endcall %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% call field(align='right', status='error') %}
|
{% call field(align='right', status='error') %}
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ def test_should_show_api_keys_page(app_,
|
|||||||
resp_data = response.get_data(as_text=True)
|
resp_data = response.get_data(as_text=True)
|
||||||
assert 'some key name' in resp_data
|
assert 'some key name' in resp_data
|
||||||
assert 'another key name' in resp_data
|
assert 'another key name' in resp_data
|
||||||
assert 'Revoked Thursday 01 January 1970 at 01:00' in resp_data
|
assert 'Revoked 1 January at 01:00' in resp_data
|
||||||
mock_get_api_keys.assert_called_once_with(service_id=fake_uuid)
|
mock_get_api_keys.assert_called_once_with(service_id=fake_uuid)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user