remove unused redis settings from rate limit unit test

This commit is contained in:
Brian Gough 2020-02-11 14:32:49 +00:00
parent 2d2e3bc2b1
commit 26d8d07e7a

View file

@ -9,9 +9,7 @@ describe "RateLimitManager", ->
beforeEach ->
@RateLimitManager = SandboxedModule.require modulePath, requires:
"logger-sharelatex": @logger = { log: sinon.stub() }
"settings-sharelatex": @settings =
redis:
realtime: {}
"settings-sharelatex": @settings = {}
"./Metrics": @Metrics =
Timer: class Timer
done: sinon.stub()