mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-01 04:09:46 -04:00
Functionality added to download all on activity page. All tests passing.
This commit is contained in:
@@ -149,6 +149,8 @@ def notification_json(service_id,
|
||||
'status': status,
|
||||
'created_at': created_at
|
||||
} for i in range(5)],
|
||||
'total': 5,
|
||||
'page_size': 50,
|
||||
'links': links
|
||||
}
|
||||
return data
|
||||
|
||||
@@ -674,6 +674,7 @@ def mock_get_notifications(mocker):
|
||||
def _get_notifications(service_id,
|
||||
job_id=None,
|
||||
page=1,
|
||||
page_size=50,
|
||||
template_type=None,
|
||||
status=None):
|
||||
return notification_json(service_id)
|
||||
|
||||
Reference in New Issue
Block a user