mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-18 21:49:37 -04:00
Use per-service data retention period to display notifications page
Uses the configured service data retention page to display retention period length, notification counts and fetch notifications from the API on the notifications page.
This commit is contained in:
@@ -145,7 +145,7 @@ def test_can_show_notifications(
|
||||
**extra_args
|
||||
))
|
||||
json_content = json.loads(json_response.get_data(as_text=True))
|
||||
assert json_content.keys() == {'counts', 'notifications'}
|
||||
assert json_content.keys() == {'counts', 'notifications', 'service_data_retention_days'}
|
||||
|
||||
|
||||
@pytest.mark.parametrize('user, query_parameters, expected_download_link', [
|
||||
|
||||
Reference in New Issue
Block a user