From: Mark Felder Date: Mon, 31 Aug 2020 20:54:22 +0000 (-0500) Subject: Fix test so setting doesn't leak X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=44ced17634a9c89b9ff4a47c64805356f7f6401c;p=akkoma Fix test so setting doesn't leak --- diff --git a/test/web/metadata/metadata_test.exs b/test/web/metadata/metadata_test.exs index 4dd0d2f5c..f7371cae2 100644 --- a/test/web/metadata/metadata_test.exs +++ b/test/web/metadata/metadata_test.exs @@ -24,6 +24,8 @@ defmodule Pleroma.Web.MetadataTest do end describe "no metadata for private instances" do + setup do: clear_config([:instance, :public]) + test "for local user" do Pleroma.Config.put([:instance, :public], false) user = insert(:user, bio: "This is my secret fedi account bio")