tests: adapt to change in authentic form field identifiers
This commit is contained in:
parent
3caeeb82ed
commit
6cf6d7fcf6
|
@ -532,8 +532,8 @@ def test_middleware(notify_agents, app_factory, tenant, settings):
|
|||
resp = form.submit(name='login-password-submit').follow()
|
||||
resp = resp.click('Your account')
|
||||
resp = resp.click('Edit')
|
||||
resp.form.set('edit-profile-first_name', 'John')
|
||||
resp.form.set('edit-profile-last_name', 'Doe')
|
||||
resp.form.set('first_name', 'John')
|
||||
resp.form.set('last_name', 'Doe')
|
||||
assert notify_agents.call_count == 0
|
||||
resp = resp.form.submit().follow()
|
||||
assert notify_agents.call_count == 1
|
||||
|
|
Loading…
Reference in New Issue