Commit 21f6fb2f authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[ui][tests][views] Update login data to match two_factor expectation

parent 6e23eb27
......@@ -42,7 +42,12 @@ class EmailSendingTestCase(ViewTestCase):
def run_email_check(self, prefix):
client = Client()
response = client.post(
reverse("login"), dict(username=self.blockeduser, password=self.password)
reverse("two_factor:login"),
data={
"auth-username": self.blockeduser,
"auth-password": self.password,
"login_view-current_step": "auth",
},
)
reference_url = response.wsgi_request.build_absolute_uri(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment