mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-12 09:58:50 -04:00
Make the date take up less space
This commit is contained in:
@@ -45,7 +45,7 @@
|
||||
{% endcall %}
|
||||
{% if item.expiry_date %}
|
||||
{% call field(align='right') %}
|
||||
Revoked {{ item.expiry_date|format_datetime }}
|
||||
Revoked {{ item.expiry_date|format_datetime_short }}
|
||||
{% endcall %}
|
||||
{% else %}
|
||||
{% 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)
|
||||
assert 'some 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)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user