summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorIvan Tashkinov <ivantashkinov@gmail.com>2020-02-29 22:04:09 +0300
committerIvan Tashkinov <ivantashkinov@gmail.com>2020-02-29 22:04:09 +0300
commitc747260989fdba32a8f319f88f0840c811ff8b50 (patch)
treecec8a543e5a0256cd951fbb6a2a6fb29bbece3f1 /test
parent3759b146c4332f4026370fd1292085fbbb92d536 (diff)
downloadpleroma-c747260989fdba32a8f319f88f0840c811ff8b50.tar.gz
pleroma-c747260989fdba32a8f319f88f0840c811ff8b50.zip
[#2250] Tiny refactoring per merge request review.
Diffstat (limited to 'test')
-rw-r--r--test/plugs/rate_limiter_test.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/plugs/rate_limiter_test.exs b/test/plugs/rate_limiter_test.exs
index c0630c039..104d67611 100644
--- a/test/plugs/rate_limiter_test.exs
+++ b/test/plugs/rate_limiter_test.exs
@@ -109,7 +109,7 @@ defmodule Pleroma.Plugs.RateLimiterTest do
RateLimiter.call(conn, plug_opts)
assert {1, 4} = RateLimiter.inspect_bucket(conn, base_bucket_name, plug_opts)
- assert {:err, :not_found} = RateLimiter.inspect_bucket(conn, limiter_name, plug_opts)
+ assert {:error, :not_found} = RateLimiter.inspect_bucket(conn, limiter_name, plug_opts)
end
test "`params` option allows different queries to be tracked independently" do