diff options
-rw-r--r-- | config/test.exs | 2 | ||||
-rw-r--r-- | test/web/mastodon_api/views/account_view_test.exs | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/config/test.exs b/config/test.exs index e9c2273e8..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: false - 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 68a5d0091..39060e186 100644 --- a/test/web/mastodon_api/views/account_view_test.exs +++ b/test/web/mastodon_api/views/account_view_test.exs @@ -19,6 +19,8 @@ defmodule Pleroma.Web.MastodonAPI.AccountViewTest do end test "Represent a user account" do + clear_config([:instances_favicons, :enabled], true) + background_image = %{ "url" => [%{"href" => "https://example.com/images/asuka_hospital.png"}] } @@ -136,6 +138,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, |