mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 15:57:23 -04:00
change operations to kebab-case
so that they better align with the front-end, where they'll be used in data attributes. Also, making the kebab case is nice because it doesn't give favouritism to either JS or python naming conventions
This commit is contained in:
@@ -616,7 +616,7 @@ def test_dont_show_preview_letter_templates_for_bad_filetype(
|
||||
'template_type': 'copy-existing'
|
||||
}),
|
||||
('main.choose_template', {
|
||||
'operation': 'add_template',
|
||||
'operation': 'add-new-template',
|
||||
'add_template_by_template_type': 'copy-existing'
|
||||
}),
|
||||
))
|
||||
@@ -791,7 +791,7 @@ def test_cant_copy_template_from_non_member_service(
|
||||
(
|
||||
'main.choose_template',
|
||||
{
|
||||
'operation': 'add_template',
|
||||
'operation': 'add-new-template',
|
||||
'add_template_by_template_type': 'email',
|
||||
},
|
||||
"Sending emails has been disabled for your service."
|
||||
@@ -799,7 +799,7 @@ def test_cant_copy_template_from_non_member_service(
|
||||
(
|
||||
'main.choose_template',
|
||||
{
|
||||
'operation': 'add_template',
|
||||
'operation': 'add-new-template',
|
||||
'add_template_by_template_type': 'sms',
|
||||
},
|
||||
"Sending text messages has been disabled for your service."
|
||||
|
||||
Reference in New Issue
Block a user