summaryrefslogtreecommitdiff
path: root/test/plugs/remote_ip_test.exs
diff options
context:
space:
mode:
Diffstat (limited to 'test/plugs/remote_ip_test.exs')
-rw-r--r--test/plugs/remote_ip_test.exs3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/plugs/remote_ip_test.exs b/test/plugs/remote_ip_test.exs
index 9c3737b0b..752ab32e7 100644
--- a/test/plugs/remote_ip_test.exs
+++ b/test/plugs/remote_ip_test.exs
@@ -9,8 +9,7 @@ defmodule Pleroma.Plugs.RemoteIpTest do
alias Pleroma.Plugs.RemoteIp
import Pleroma.Tests.Helpers, only: [clear_config: 1, clear_config: 2]
-
- clear_config(RemoteIp)
+ setup do: clear_config(RemoteIp)
test "disabled" do
Pleroma.Config.put(RemoteIp, enabled: false)