diff --git a/services/real-time/test/acceptance/coffee/helpers/RealtimeServer.coffee b/services/real-time/test/acceptance/coffee/helpers/RealtimeServer.coffee index 12efd1ef13..3a721c18ed 100644 --- a/services/real-time/test/acceptance/coffee/helpers/RealtimeServer.coffee +++ b/services/real-time/test/acceptance/coffee/helpers/RealtimeServer.coffee @@ -1,5 +1,4 @@ app = require('../../../../app') -require("logger-sharelatex").logger.level("info") logger = require("logger-sharelatex") Settings = require("settings-sharelatex") @@ -21,4 +20,4 @@ module.exports = logger.log("clsi running in dev mode") for callback in @callbacks - callback() \ No newline at end of file + callback() diff --git a/services/real-time/test/unit/coffee/ChannelManagerTests.coffee b/services/real-time/test/unit/coffee/ChannelManagerTests.coffee index cb77991f58..354e956283 100644 --- a/services/real-time/test/unit/coffee/ChannelManagerTests.coffee +++ b/services/real-time/test/unit/coffee/ChannelManagerTests.coffee @@ -12,6 +12,7 @@ describe 'ChannelManager', -> @ChannelManager = SandboxedModule.require modulePath, requires: "settings-sharelatex": @settings = {} "metrics-sharelatex": @metrics = {inc: sinon.stub(), summary: sinon.stub()} + "logger-sharelatex": @logger = { log: sinon.stub(), warn: sinon.stub(), error: sinon.stub() } describe "subscribe", ->