X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;ds=sidebyside;f=test%2Fobject_test.exs;h=85b2a3f6d2738706eac37068a49476b4bdc514d9;hb=06444a150174ebd5a811057d068beb2da8727753;hp=5690bedece2261874a39adc5bd9322394e49e3e7;hpb=1262357ddb4b889337a931a39b3e28bb3d81f944;p=akkoma
diff --git a/test/object_test.exs b/test/object_test.exs
index 5690bedec..85b2a3f6d 100644
--- a/test/object_test.exs
+++ b/test/object_test.exs
@@ -1,5 +1,5 @@
# Pleroma: A lightweight social networking server
-# Copyright © 2017-2019 Pleroma Authors
+# Copyright © 2017-2020 Pleroma Authors
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.ObjectTest do
@@ -75,6 +75,7 @@ defmodule Pleroma.ObjectTest do
describe "delete attachments" do
clear_config([Pleroma.Upload])
+ clear_config([:instance, :cleanup_attachments])
test "Disabled via config" do
Pleroma.Config.put([Pleroma.Upload, :uploader], Pleroma.Uploaders.Local)