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.

node_tests: Define locally echoed messages correctly in tests.

Sahil Batraf3e1b6eaa2fa
diff --git a/frontend_tests/node_tests/message_edit.js b/frontend_tests/node_tests/message_edit.js
index 7646072e34d..16607df47bf 100644
--- a/frontend_tests/node_tests/message_edit.js
+++ b/frontend_tests/node_tests/message_edit.js
@@ -43,7 +43,7 @@ run_test("get_editability", ({override}) => {
assert.equal(
get_editability({
sent_by_me: true,
- local_id: "25",
+ locally_echoed: true,
}),
editability_types.NO,
);