Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

test_subs: Remove absurd bot_owner parameter from request.

Anders Kaseorg0d1cc8c1718a
diff --git a/zerver/tests/test_subs.py b/zerver/tests/test_subs.py
index 555f7c967af..b5100b57dd4 100644
--- a/zerver/tests/test_subs.py
+++ b/zerver/tests/test_subs.py
@@ -3521,7 +3521,7 @@ class SubscriptionAPITest(ZulipTestCase):
class GetStreamsTest(ZulipTestCase):
def test_streams_api_for_bot_owners(self) -> None:
hamlet = self.example_user('hamlet')
- test_bot = self.create_test_bot('foo', hamlet, bot_owner=hamlet)
+ test_bot = self.create_test_bot('foo', hamlet)
assert test_bot is not None
realm = get_realm('zulip')
self.login_user(hamlet)