mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-18 05:51:26 +02:00
Test updated
This commit is contained in:
@@ -23,11 +23,11 @@ class ProfileTestCase(ModoTestCase):
|
||||
"""
|
||||
self.ajax_post(reverse("core:user_profile"),
|
||||
{"oldpassword": "password",
|
||||
"newpassword": "titi", "confirmation": "titi"})
|
||||
"newpassword": "12345Toi", "confirmation": "12345Toi"})
|
||||
self.clt.logout()
|
||||
|
||||
self.assertEqual(
|
||||
self.clt.login(username="admin", password="titi"), True
|
||||
self.clt.login(username="admin", password="12345Toi"), True
|
||||
)
|
||||
self.assertEqual(
|
||||
self.clt.login(username="user@test.com", password="toto"), True
|
||||
|
||||
Reference in New Issue
Block a user