mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-07 18:38:26 -04:00
Use the same pattern as elsewhere for ‘new thing’
On the team and templates pages we have a pattern for adding a new ‘thing’, which is a green button in the top right. This commit changes the API key page to follow the same pattern.
This commit is contained in:
@@ -34,7 +34,7 @@ def test_should_show_empty_api_keys_page(app_,
|
||||
|
||||
assert response.status_code == 200
|
||||
assert 'You haven’t created any API keys yet' in response.get_data(as_text=True)
|
||||
assert 'Create a new API key' in response.get_data(as_text=True)
|
||||
assert 'Create new API key' in response.get_data(as_text=True)
|
||||
mock_get_no_api_keys.assert_called_once_with(service_id=service_id)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user