Edit, don’t duplicate, existing templates

This commit is contained in:
Rebecca Law
2018-07-31 16:20:10 +01:00
parent b35f6e9d5f
commit d512f330cd
5 changed files with 8 additions and 18 deletions

View File

@@ -477,11 +477,6 @@ def test_load_edit_template_with_copy_of_template(
)
assert page.select_one('form')['method'] == 'post'
assert page.select_one('form')['action'] == url_for(
'main.add_service_template',
service_id=SERVICE_ONE_ID,
template_type='email',
)
assert page.select_one('input')['value'] == (
'Copy of Two week reminder'