node tests: Fix failure resulting from recent rebase.

This commit is contained in:
Tim Abbott 2021-06-16 16:40:39 -07:00
parent 1b91545b37
commit 417faa0465
1 changed files with 1 additions and 1 deletions

View File

@ -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);