Use new platform-admin page

We had kept the original platform-admin page at `/platform-admin` and
created a new page, `/platform-admin-new` for the new platform admin
page. Now that the numbers on both pages look ok we no longer need both
pages, so can replace the original page.
This commit is contained in:
Katie Smith
2018-07-10 14:39:54 +01:00
parent db42bb9291
commit 3bbc73dfd2
7 changed files with 44 additions and 226 deletions

View File

@@ -2670,17 +2670,6 @@ def normalize_spaces(input):
return normalize_spaces(' '.join(item.text for item in input))
@pytest.fixture(scope='function')
def mock_get_aggregate_platform_stats(mocker):
stats = {
'email': {'requested': 0, 'delivered': 0, 'failed': 0},
'sms': {'requested': 0, 'delivered': 0, 'failed': 0},
'letter': {'requested': 0, 'delivered': 0, 'failed': 0}
}
return mocker.patch('app.service_api_client.get_aggregate_platform_stats', return_value=stats)
@pytest.fixture(scope='function')
def mock_get_free_sms_fragment_limit(mocker):
sample_limit = 250000