From 6cf6d7fcf6b3331168f84bc3f171a7dc449eee09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Fri, 9 Oct 2020 15:52:24 +0200 Subject: [PATCH] tests: adapt to change in authentic form field identifiers --- tests_authentic/test_provisionning.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests_authentic/test_provisionning.py b/tests_authentic/test_provisionning.py index c1d040c..211079a 100644 --- a/tests_authentic/test_provisionning.py +++ b/tests_authentic/test_provisionning.py @@ -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