projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add AutolinkerToLinkify migration test
[akkoma]
/
test
/
plugs
/
remote_ip_test.exs
diff --git
a/test/plugs/remote_ip_test.exs
b/test/plugs/remote_ip_test.exs
index 93e276454ca0bea2a4c9b698c705c5ffcccd29d7..752ab32e7b6bd32ca1fd7c0e49e167ed3a9a75e2 100644
(file)
--- a/
test/plugs/remote_ip_test.exs
+++ b/
test/plugs/remote_ip_test.exs
@@
-1,5
+1,5
@@
# Pleroma: A lightweight social networking server
# Pleroma: A lightweight social networking server
-# Copyright © 2017-20
19
Pleroma Authors <https://pleroma.social/>
+# Copyright © 2017-20
20
Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Plugs.RemoteIpTest do
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Plugs.RemoteIpTest do
@@
-9,8
+9,7
@@
defmodule Pleroma.Plugs.RemoteIpTest do
alias Pleroma.Plugs.RemoteIp
import Pleroma.Tests.Helpers, only: [clear_config: 1, clear_config: 2]
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)
test "disabled" do
Pleroma.Config.put(RemoteIp, enabled: false)