mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
server_events_dispatch: Throw blueslip if wrong op in realm_bot case.
This commit is contained in:
@@ -888,4 +888,6 @@ run_test("server_event_dispatch_op_errors", () => {
|
||||
op: "update_dict",
|
||||
property: "other",
|
||||
});
|
||||
blueslip.expect("error", "Unexpected event type realm_bot/other");
|
||||
server_events_dispatch.dispatch_normal_event({type: "realm_bot", op: "other"});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user