mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-24 16:24:08 -04:00
Merge pull request #2862 from alphagov/show-templates-across-user-folders
When replying to inbound sms show templates in all user's folders
This commit is contained in:
@@ -7,6 +7,7 @@ from notifications_python_client.errors import HTTPError
|
||||
from tests.conftest import (
|
||||
SERVICE_ONE_ID,
|
||||
TEMPLATE_ONE_ID,
|
||||
_template,
|
||||
active_caseworking_user,
|
||||
active_user_view_permissions,
|
||||
active_user_with_permissions,
|
||||
@@ -31,15 +32,6 @@ def _folder(name, folder_id=None, parent=None, users_with_permission=None):
|
||||
}
|
||||
|
||||
|
||||
def _template(template_type, name, parent=None, template_id=None):
|
||||
return {
|
||||
'id': template_id or str(uuid.uuid4()),
|
||||
'name': name,
|
||||
'template_type': template_type,
|
||||
'folder': parent,
|
||||
}
|
||||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
(
|
||||
'expected_title_tag,'
|
||||
|
||||
Reference in New Issue
Block a user