mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-24 16:24:08 -04:00
Fix create and update template method calls
The removal of the process_type argument was causing a couple of the method calls to break since they were still sending in the argument. This commit fixes that and updates the corresponding tests as well. h/t @terrazoon for uncovering the touchpoints originally! Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
This commit is contained in:
@@ -522,7 +522,6 @@ def test_can_create_email_template_with_parent_folder(
|
||||
'template_content': "here's a burrito 🌯",
|
||||
'template_type': 'email',
|
||||
'service': SERVICE_ONE_ID,
|
||||
'process_type': 'normal',
|
||||
'parent_folder_id': PARENT_FOLDER_ID
|
||||
}
|
||||
client_request.post('.add_service_template',
|
||||
@@ -540,7 +539,6 @@ def test_can_create_email_template_with_parent_folder(
|
||||
data['template_content'],
|
||||
SERVICE_ONE_ID,
|
||||
data['subject'],
|
||||
data['process_type'],
|
||||
data['parent_folder_id'])
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user