wscall: don't notify by default (#19662)
This commit is contained in:
parent
a4c013548e
commit
508dc53c19
|
@ -72,7 +72,7 @@ def test_wscalls_new(pub, value):
|
|||
# go to the page and add a webservice call
|
||||
resp = app.get('/backoffice/settings/wscalls/')
|
||||
resp = resp.click('New webservice call')
|
||||
assert resp.form['notify_on_errors'].value == 'yes'
|
||||
assert resp.form['notify_on_errors'].value is None
|
||||
assert resp.form['record_on_errors'].value == 'yes'
|
||||
resp.form['name'] = 'a new webservice call'
|
||||
resp.form['description'] = 'description'
|
||||
|
|
|
@ -57,7 +57,7 @@ class NamedWsCallUI(object):
|
|||
CheckboxWidget,
|
||||
'notify_on_errors',
|
||||
title=_('Notify on errors'),
|
||||
value=self.wscall.notify_on_errors if self.wscall.slug else True)
|
||||
value=self.wscall.notify_on_errors)
|
||||
form.add(
|
||||
CheckboxWidget,
|
||||
'record_on_errors',
|
||||
|
|
Loading…
Reference in New Issue