Stop passing in today_only for the get_service_statistics method.

We now only ever call it with False.
To remove it from the api call will require a change in the API so will do that at another time.
This commit is contained in:
Rebecca Law
2021-06-28 10:11:22 +01:00
parent 44f02f2e30
commit 77c2aa9fd6
4 changed files with 7 additions and 15 deletions

View File

@@ -502,7 +502,7 @@ def mock_get_service(mocker, api_user_active):
@pytest.fixture(scope='function')
def mock_get_service_statistics(mocker, api_user_active):
def _get(service_id, today_only, limit_days=None):
def _get(service_id, limit_days=None):
return {
'email': {'requested': 0, 'delivered': 0, 'failed': 0},
'sms': {'requested': 0, 'delivered': 0, 'failed': 0},