mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
tests: Fix test_banned_desktop_app_versions for 2.1.x.
ZulipTestCase.login_user was not added until commit
1b16693526
(#14176).
Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
@@ -393,7 +393,7 @@ class HomeTest(ZulipTestCase):
|
||||
|
||||
def test_banned_desktop_app_versions(self) -> None:
|
||||
user = self.example_user('hamlet')
|
||||
self.login_user(user)
|
||||
self.login(user.email)
|
||||
|
||||
result = self.client_get('/',
|
||||
HTTP_USER_AGENT="ZulipElectron/2.3.82")
|
||||
|
Reference in New Issue
Block a user