From 7fbc08d68af91543b23933c544007951cbe70640 Mon Sep 17 00:00:00 2001 From: Shane Kilkelly Date: Tue, 21 Mar 2017 09:27:47 +0000 Subject: [PATCH] Add logger stub to unit test --- .../test/unit/coffee/MongoManager/MongoManagerTests.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/services/track-changes/test/unit/coffee/MongoManager/MongoManagerTests.coffee b/services/track-changes/test/unit/coffee/MongoManager/MongoManagerTests.coffee index 29ed86e92c..85f4357a58 100644 --- a/services/track-changes/test/unit/coffee/MongoManager/MongoManagerTests.coffee +++ b/services/track-changes/test/unit/coffee/MongoManager/MongoManagerTests.coffee @@ -15,6 +15,7 @@ describe "MongoManager", -> "./mongojs" : { db: @db = {}, ObjectId: ObjectId } "./PackManager" : @PackManager = {} 'metrics-sharelatex': {timeAsyncMethod: ()->} + 'logger-sharelatex': {log: ()->} @callback = sinon.stub() @doc_id = ObjectId().toString() @project_id = ObjectId().toString()