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_events: Remove 'realm_user' from event_types in subscription test.

sahil839e578742b0231
diff --git a/zerver/tests/test_events.py b/zerver/tests/test_events.py
index 07b14b4c10c..cd571334371 100644
--- a/zerver/tests/test_events.py
+++ b/zerver/tests/test_events.py
@@ -1830,7 +1830,7 @@ class SubscribeActionTest(BaseAction):
action: Callable[[], object] = lambda: self.subscribe(self.example_user("hamlet"), "test_stream")
events = self.verify_action(
action,
- event_types=["subscription", "realm_user"],
+ event_types=["subscription"],
include_subscribers=include_subscribers)
check_subscription_add('events[0]', events[0], include_subscribers)