AuthBackendTest: Fix typos in error message checks.

Previously, these checks did nothing.
This commit is contained in:
Tim Abbott 2018-06-04 23:39:01 -07:00
parent 0335da7e05
commit 869d75b02f
1 changed files with 2 additions and 2 deletions

View File

@ -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: