[#2250] Tiny refactoring per merge request review.

This commit is contained in:
Ivan Tashkinov 2020-02-29 22:04:09 +03:00
commit c747260989
2 changed files with 5 additions and 3 deletions

View file

@ -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