diff options
author | lain <lain@soykaf.club> | 2020-05-06 09:14:05 +0000 |
---|---|---|
committer | lain <lain@soykaf.club> | 2020-05-06 09:14:05 +0000 |
commit | 07e7c80bc9e919cd92ca9dda1e21384142e5bd77 (patch) | |
tree | e921b5664c8c2bd53057fda10318cb57aad17af1 /test/plugs/ensure_authenticated_plug_test.exs | |
parent | a716543267469642b326dc5061528d8307ea6633 (diff) | |
parent | 2c4844237f294d27f58737f9694f77b1cfcb10e7 (diff) | |
download | pleroma-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.exs | 4 |
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 |