mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-20 15:31:15 -05:00
Use create_service instead of sample_service when creating sample_email_template for tests
This commit is contained in:
@@ -295,7 +295,7 @@ def sample_email_template(
|
||||
if user is None:
|
||||
user = create_user()
|
||||
if service is None:
|
||||
service = sample_service(notify_db, notify_db_session, permissions=permissions)
|
||||
service = create_service(user=user, service_permissions=permissions)
|
||||
data = {
|
||||
'name': template_name,
|
||||
'template_type': template_type,
|
||||
|
||||
Reference in New Issue
Block a user