Use service-specific page template for history

This commit is contained in:
Chris Hill-Scott
2019-10-18 09:46:25 +01:00
parent fce0397b55
commit 8db94eafc8
2 changed files with 10 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
{% extends "withoutnav_template.html" %}
{% extends "withnav_template.html" %}
{% from "components/page-footer.html" import page_footer %}
{% from "components/table.html" import list_table, field %}

View File

@@ -3501,3 +3501,12 @@ def mock_get_service_and_organisation_counts(mocker):
'organisations': 111,
'services': 9999,
})
@pytest.fixture(scope='function')
def mock_get_service_history(mocker):
return mocker.patch('app.service_api_client.get_service_history', return_value={'data': {
'service_history': [],
'api_key_history': [],
'events': [],
}})