mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-18 13:39:57 -04:00
Limit big numbers to the last 7 days
Implements and depends on: - https://github.com/alphagov/notifications-api/pull/241
This commit is contained in:
@@ -172,7 +172,7 @@ def mock_delete_service(mocker, mock_get_service):
|
||||
|
||||
@pytest.fixture(scope='function')
|
||||
def mock_get_service_statistics(mocker):
|
||||
def _create(service_id):
|
||||
def _create(service_id, limit_days=None):
|
||||
return {'data': [{}]}
|
||||
|
||||
return mocker.patch(
|
||||
|
||||
Reference in New Issue
Block a user