mirror of https://github.com/zulip/zulip.git
AuthBackendTest: Fix typos in error message checks.
Previously, these checks did nothing.
This commit is contained in:
parent
0335da7e05
commit
869d75b02f
|
@ -216,10 +216,10 @@ class AuthBackendTest(ZulipTestCase):
|
|||
|
||||
# testing to avoid false error messages.
|
||||
result = self.client_get('/login/')
|
||||
self.assert_not_in_success_response(["No Authentication Backend is enabled."], result)
|
||||
self.assert_not_in_success_response(["No authentication backends are enabled"], result)
|
||||
|
||||
result = self.client_get('/register/')
|
||||
self.assert_not_in_success_response(["No Authentication Backend is enabled."], result)
|
||||
self.assert_not_in_success_response(["No authentication backends are enabled"], result)
|
||||
|
||||
@override_settings(AUTHENTICATION_BACKENDS=('zproject.backends.GoogleMobileOauth2Backend',))
|
||||
def test_google_backend(self) -> None:
|
||||
|
|
Loading…
Reference in New Issue