From: Roman Chvanikov Date: Sat, 30 May 2020 13:47:09 +0000 (+0300) Subject: Fix config setting to not affect other tests X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=b973d0b2f0809e7a96c39f6eef1d86050c9d421b;p=akkoma Fix config setting to not affect other tests --- diff --git a/test/user_test.exs b/test/user_test.exs index 3556ef1b4..6b344158d 100644 --- a/test/user_test.exs +++ b/test/user_test.exs @@ -1802,7 +1802,7 @@ defmodule Pleroma.UserTest do user = insert(:user) assert User.avatar_url(user) =~ "/images/avi.png" - Pleroma.Config.put([:assets, :default_user_avatar], "avatar.png") + clear_config([:assets, :default_user_avatar], "avatar.png") user = User.get_cached_by_nickname_or_id(user.nickname) assert User.avatar_url(user) =~ "avatar.png"