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:
Tim Abbott 2021-04-19 17:34:08 -07:00
parent 57c657962e
commit a8106a641b
1 changed files with 1 additions and 1 deletions

View File

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