mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-18 21:49:37 -04:00
Fixed bug for subject not updating when changed on the edit template page.
This commit is contained in:
@@ -205,9 +205,9 @@ def mock_create_service_template(mocker, fake_uuid):
|
||||
|
||||
@pytest.fixture(scope='function')
|
||||
def mock_update_service_template(mocker):
|
||||
def _update(id_, name, type_, content, service):
|
||||
def _update(id_, name, type_, content, service, subject=None):
|
||||
template = template_json(
|
||||
service, id_, name, type_, content)
|
||||
service, id_, name, type_, content, subject)
|
||||
return {'data': template}
|
||||
|
||||
return mocker.patch(
|
||||
|
||||
Reference in New Issue
Block a user