mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-28 03:39:29 -04:00
Merge pull request #561 from GSA/notify-552
notify-552 remove option to use priority queue from UI
This commit is contained in:
@@ -1234,15 +1234,7 @@ class BaseTemplateForm(StripWhitespaceForm):
|
||||
NoCommasInPlaceHolders()
|
||||
]
|
||||
)
|
||||
process_type = GovukRadiosField(
|
||||
"Use priority queue?",
|
||||
choices=[
|
||||
('priority', 'Yes'),
|
||||
('normal', 'No'),
|
||||
],
|
||||
thing='yes or no',
|
||||
default='normal'
|
||||
)
|
||||
process_type = HiddenField('normal')
|
||||
|
||||
|
||||
class SMSTemplateForm(BaseTemplateForm):
|
||||
|
||||
@@ -658,7 +658,7 @@ def test_should_show_page_template_with_priority_select_if_platform_admin(
|
||||
|
||||
assert page.select_one('input[name=name]')['value'] == "Two week reminder"
|
||||
assert "Template <em>content</em> with & entity" in str(page.select_one('textarea'))
|
||||
assert "Use priority queue?" in page.text
|
||||
assert "Use priority queue?" not in page.text
|
||||
mock_get_service_template.assert_called_with(service_one['id'], template_id, None)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user