mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Merge pull request #113 from overleaf/bg-remove-unused-redis-in-test
remove unused redis settings from rate limit unit test
This commit is contained in:
commit
3d14e0c439
1 changed files with 1 additions and 3 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue