mirror of
https://github.com/discourse/discourse.git
synced 2025-05-29 01:31:35 +08:00
No need to disable rate limiter after running tests (#13093)
We disable rate limiter before running every test here 90ab3b1c75/spec/rails_helper.rb (L109-L109)
This commit is contained in:

committed by
GitHub

parent
9e4288a4ab
commit
075cd07a07
@ -178,10 +178,6 @@ describe Middleware::AnonymousCache do
|
||||
RateLimiter.enable
|
||||
end
|
||||
|
||||
after do
|
||||
RateLimiter.disable
|
||||
end
|
||||
|
||||
it 'will revert to anonymous once we reach the limit' do
|
||||
|
||||
RateLimiter.clear_all!
|
||||
|
Reference in New Issue
Block a user