mirror of https://github.com/zulip/zulip.git
compose: Fix broken test.
We seem to have accidentally merged a bit of logic from renaming file_upload_enabled to allow_file_upload.
This commit is contained in:
parent
57c657962e
commit
a8106a641b
|
@ -1065,7 +1065,7 @@ test_ui("initialize", (override) => {
|
|||
stub_templates((template_name, context) => {
|
||||
assert.equal(template_name, "compose");
|
||||
assert.equal(context.embedded, false);
|
||||
assert.equal(context.allow_file_upload, true);
|
||||
assert.equal(context.file_upload_enabled, true);
|
||||
assert.equal(context.giphy_api_available, true);
|
||||
return "fake-compose-template";
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue