mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-10 03:14:58 -04:00
Change the drop down to read Use priority queue? yes|no
This commit is contained in:
@@ -270,8 +270,8 @@ class SMSTemplateForm(Form):
|
||||
NoCommasInPlaceHolders()
|
||||
]
|
||||
)
|
||||
process_type = SelectField(u'Select priority or normal', choices=[('normal', 'normal'),
|
||||
('priority', 'priority')],
|
||||
process_type = SelectField(u'Use priority queue?', choices=[('normal', 'no'),
|
||||
('priority', 'yes')],
|
||||
default='normal')
|
||||
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@ def test_should_show_page_for_one_template(
|
||||
assert response.status_code == 200
|
||||
assert "Two week reminder" in response.get_data(as_text=True)
|
||||
assert "Your vehicle tax is about to expire" in response.get_data(as_text=True)
|
||||
assert "Select priority or normal" not in response.get_data(as_text=True)
|
||||
assert "Use priority queue?" not in response.get_data(as_text=True)
|
||||
mock_get_service_template.assert_called_with(
|
||||
service_id, template_id)
|
||||
|
||||
@@ -64,7 +64,7 @@ def test_should_show_page_template_with_priority_select_if_platform_admin(
|
||||
assert response.status_code == 200
|
||||
assert "Two week reminder" in response.get_data(as_text=True)
|
||||
assert "Your vehicle tax is about to expire" in response.get_data(as_text=True)
|
||||
assert "Select priority or normal" in response.get_data(as_text=True)
|
||||
assert "Use priority queue?" in response.get_data(as_text=True)
|
||||
mock_get_service_template.assert_called_with(
|
||||
service_id, template_id)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user