diff --git a/modoboa/core/dev_settings.py b/modoboa/core/dev_settings.py index 936302132..9b3150c18 100644 --- a/modoboa/core/dev_settings.py +++ b/modoboa/core/dev_settings.py @@ -8,7 +8,7 @@ BOWER_COMPONENTS_ROOT = os.path.join( BOWER_INSTALLED_APPS = ( "jquery#1.9", "jquery-ui#1.11", - "bootstrap#3.3.1", + "bootstrap#3.3.5", "bootstrap-select#1.6", "d3#3.5.0", "eonasdan-bootstrap-datetimepicker#3.1.3", diff --git a/modoboa/core/tests.py b/modoboa/core/tests.py index ee070a693..02be721da 100644 --- a/modoboa/core/tests.py +++ b/modoboa/core/tests.py @@ -36,9 +36,16 @@ class ProfileTestCase(ModoTestCase): self.ajax_post( reverse("core:user_profile"), {"oldpassword": "toto", - "newpassword": "tutu", "confirmation": "tutu"} + "newpassword": "tutu", "confirmation": "tutu"}, + status=400 + ) + + self.ajax_post( + reverse("core:user_profile"), + {"oldpassword": "toto", + "newpassword": "Toto1234", "confirmation": "Toto1234"} ) self.clt.logout() self.assertTrue( - self.clt.login(username="user@test.com", password="tutu") + self.clt.login(username="user@test.com", password="Toto1234") )