[misc] test/unit: stub the correct redis settings

This commit is contained in:
Jakob Ackermann 2020-02-07 12:24:57 +01:00
parent f9bc6dc51b
commit 10d177f41b

View file

@ -13,7 +13,7 @@ describe "DispatchManager", ->
"logger-sharelatex": @logger = { log: sinon.stub(), error: sinon.stub(), warn: sinon.stub() }
"settings-sharelatex": @settings =
redis:
realtime: {}
documentupdater: {}
"redis-sharelatex": @redis = {}
"./RateLimitManager": {}
"./Errors": Errors