mirror of https://github.com/zulip/zulip.git
node tests: Fix failure resulting from recent rebase.
This commit is contained in:
parent
1b91545b37
commit
417faa0465
|
@ -16,7 +16,7 @@ const editability_types = message_edit.editability_types;
|
|||
|
||||
const settings_data = mock_esm("../../static/js/settings_data");
|
||||
|
||||
run_test("get_editability", (override) => {
|
||||
run_test("get_editability", ({override}) => {
|
||||
override(settings_data, "user_can_edit_topic_of_any_message", () => true);
|
||||
// You can't edit a null message
|
||||
assert.equal(get_editability(null), editability_types.NO);
|
||||
|
|
Loading…
Reference in New Issue