mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-17 04:59:37 -04:00
Add warning message showing date template last used when deleting
This commit is contained in:
@@ -226,6 +226,7 @@ def test_should_show_delete_template_page(app_,
|
||||
mock_get_user,
|
||||
mock_get_user_by_email,
|
||||
mock_has_permissions,
|
||||
mock_get_template_statistics,
|
||||
fake_uuid):
|
||||
with app_.test_request_context():
|
||||
with app_.test_client() as client:
|
||||
@@ -292,6 +293,7 @@ def test_route_permissions(mocker,
|
||||
api_user_active,
|
||||
service_one,
|
||||
mock_get_service_template,
|
||||
mock_get_template_statistics,
|
||||
fake_uuid):
|
||||
routes = [
|
||||
'main.add_service_template',
|
||||
|
||||
Reference in New Issue
Block a user