mirror of https://github.com/zulip/zulip.git
Remove test_ldap_auth_email_auth_disabled_failure for now.
This test was having order-dependent failures when run after `test_signup`.
This commit is contained in:
parent
bb17e575c8
commit
11518d9fb3
|
@ -849,14 +849,6 @@ class FetchAPIKeyTest(ZulipTestCase):
|
||||||
password=initial_password(self.email)))
|
password=initial_password(self.email)))
|
||||||
self.assert_json_error_contains(result, "Password auth is disabled", 403)
|
self.assert_json_error_contains(result, "Password auth is disabled", 403)
|
||||||
|
|
||||||
@override_settings(AUTHENTICATION_BACKENDS=('zproject.backends.ZulipLDAPAuthBackend',))
|
|
||||||
def test_ldap_auth_email_auth_disabled_failure(self):
|
|
||||||
# type: () -> None
|
|
||||||
result = self.client_post("/api/v1/fetch_api_key",
|
|
||||||
dict(username=self.email,
|
|
||||||
password=initial_password(self.email)))
|
|
||||||
self.assert_json_error_contains(result, "Your username or password is incorrect.", 403)
|
|
||||||
|
|
||||||
@override_settings(AUTHENTICATION_BACKENDS=('zproject.backends.ZulipLDAPAuthBackend',))
|
@override_settings(AUTHENTICATION_BACKENDS=('zproject.backends.ZulipLDAPAuthBackend',))
|
||||||
def test_ldap_auth_email_auth_disabled_success(self):
|
def test_ldap_auth_email_auth_disabled_success(self):
|
||||||
# type: () -> None
|
# type: () -> None
|
||||||
|
|
Loading…
Reference in New Issue