projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
CommonAPI: Escape HTML for chat messages.
[akkoma]
/
test
/
plugs
/
remote_ip_test.exs
diff --git
a/test/plugs/remote_ip_test.exs
b/test/plugs/remote_ip_test.exs
index 9c3737b0b5e21a69ab54f57d8d12365f842734c3..752ab32e7b6bd32ca1fd7c0e49e167ed3a9a75e2 100644
(file)
--- 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)