summaryrefslogtreecommitdiff
path: root/test/plugs/ensure_authenticated_plug_test.exs
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-05-06 09:14:05 +0000
committerlain <lain@soykaf.club>2020-05-06 09:14:05 +0000
commit07e7c80bc9e919cd92ca9dda1e21384142e5bd77 (patch)
treee921b5664c8c2bd53057fda10318cb57aad17af1 /test/plugs/ensure_authenticated_plug_test.exs
parenta716543267469642b326dc5061528d8307ea6633 (diff)
parent2c4844237f294d27f58737f9694f77b1cfcb10e7 (diff)
downloadpleroma-07e7c80bc9e919cd92ca9dda1e21384142e5bd77.tar.gz
pleroma-07e7c80bc9e919cd92ca9dda1e21384142e5bd77.zip
Merge branch 'plug-if-unless-func-options-refactoring' into 'develop'
Refactoring of :if_func / :unless_func plug options See merge request pleroma/pleroma!2446
Diffstat (limited to 'test/plugs/ensure_authenticated_plug_test.exs')
-rw-r--r--test/plugs/ensure_authenticated_plug_test.exs4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/plugs/ensure_authenticated_plug_test.exs b/test/plugs/ensure_authenticated_plug_test.exs
index 689fe757f..4e6142aab 100644
--- a/test/plugs/ensure_authenticated_plug_test.exs
+++ b/test/plugs/ensure_authenticated_plug_test.exs
@@ -27,8 +27,8 @@ defmodule Pleroma.Plugs.EnsureAuthenticatedPlugTest do
describe "with :if_func / :unless_func options" do
setup do
%{
- true_fn: fn -> true end,
- false_fn: fn -> false end
+ true_fn: fn _conn -> true end,
+ false_fn: fn _conn -> false end
}
end