aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/test.exs2
-rw-r--r--test/web/mastodon_api/views/account_view_test.exs4
2 files changed, 4 insertions, 2 deletions
diff --git a/config/test.exs b/config/test.exs
index f0358e384..0ee6f1b7f 100644
--- a/config/test.exs
+++ b/config/test.exs
@@ -114,8 +114,6 @@ config :pleroma, Pleroma.Plugs.RemoteIp, enabled: false
config :pleroma, Pleroma.Web.ApiSpec.CastAndValidate, strict: true
-config :pleroma, :instances_favicons, enabled: true
-
config :pleroma, Pleroma.Uploaders.S3,
bucket: nil,
streaming_enabled: true,
diff --git a/test/web/mastodon_api/views/account_view_test.exs b/test/web/mastodon_api/views/account_view_test.exs
index 8f37efa3c..c30308631 100644
--- a/test/web/mastodon_api/views/account_view_test.exs
+++ b/test/web/mastodon_api/views/account_view_test.exs
@@ -22,6 +22,8 @@ defmodule Pleroma.Web.MastodonAPI.AccountViewTest do
setup do: clear_config([:instances_favicons, :enabled])
test "Represent a user account" do
+ clear_config([:instances_favicons, :enabled], true)
+
background_image = %{
"url" => [%{"href" => "https://example.com/images/asuka_hospital.png"}]
}
@@ -133,6 +135,8 @@ defmodule Pleroma.Web.MastodonAPI.AccountViewTest do
end
test "Represent a Service(bot) account" do
+ clear_config([:instances_favicons, :enabled], true)
+
user =
insert(:user, %{
follower_count: 3,