aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlexander Strizhakov <alex.strizhakov@gmail.com>2020-06-24 09:30:32 +0300
committerAlexander Strizhakov <alex.strizhakov@gmail.com>2020-10-13 16:43:50 +0300
commit3be8ab51038cdfeb4bbf78633eb79c4d6f6b8d0b (patch)
tree9a0fd3a62c4980f1b3b809c4e45d1f7806674704 /test
parent4b4c0eef3681f2dd4f9248ee1383f307dcd83730 (diff)
downloadpleroma-3be8ab51038cdfeb4bbf78633eb79c4d6f6b8d0b.tar.gz
RemoteIp module name
Diffstat (limited to 'test')
-rw-r--r--test/pleroma/web/plugs/rate_limiter_test.exs2
-rw-r--r--test/pleroma/web/plugs/remote_ip_test.exs2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/pleroma/web/plugs/rate_limiter_test.exs b/test/pleroma/web/plugs/rate_limiter_test.exs
index dfc1abcbd..7c10c97b3 100644
--- a/test/pleroma/web/plugs/rate_limiter_test.exs
+++ b/test/pleroma/web/plugs/rate_limiter_test.exs
@@ -19,7 +19,7 @@ defmodule Pleroma.Web.Plugs.RateLimiterTest do
describe "config" do
@limiter_name :test_init
- setup do: clear_config([Pleroma.Plugs.RemoteIp, :enabled])
+ setup do: clear_config([Pleroma.Web.Plugs.RemoteIp, :enabled])
test "config is required for plug to work" do
Config.put([:rate_limit, @limiter_name], {1, 1})
diff --git a/test/pleroma/web/plugs/remote_ip_test.exs b/test/pleroma/web/plugs/remote_ip_test.exs
index 14c557694..0bdb4c168 100644
--- a/test/pleroma/web/plugs/remote_ip_test.exs
+++ b/test/pleroma/web/plugs/remote_ip_test.exs
@@ -6,7 +6,7 @@ defmodule Pleroma.Web.Plugs.RemoteIpTest do
use ExUnit.Case
use Plug.Test
- alias Pleroma.Plugs.RemoteIp
+ alias Pleroma.Web.Plugs.RemoteIp
import Pleroma.Tests.Helpers, only: [clear_config: 2]