mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-18 21:49:37 -04:00
Count recently-returned letters on the dashboard
Currently you have no way of getting to the returned letter page. This commit adds a link to it from the dashboard, following the pattern of the new received text messages banner.
This commit is contained in:
@@ -3342,6 +3342,14 @@ def mock_get_service_history(mocker):
|
||||
})
|
||||
|
||||
|
||||
@pytest.fixture(scope='function')
|
||||
def mock_get_returned_letter_summary_with_no_returned_letters(mocker):
|
||||
return mocker.patch(
|
||||
'app.service_api_client.get_returned_letter_summary',
|
||||
return_value=[],
|
||||
)
|
||||
|
||||
|
||||
def create_api_user_active(with_unique_id=False):
|
||||
return {
|
||||
'id': str(uuid4()) if with_unique_id else sample_uuid(),
|
||||
|
||||
Reference in New Issue
Block a user