From e57741cb80185c2b5a2bcdfc5055fe5bb126e41b Mon Sep 17 00:00:00 2001 From: Henry Oswald Date: Tue, 7 May 2019 15:46:30 +0100 Subject: [PATCH] stub out project flusher for unit tests --- .../test/unit/coffee/HttpController/HttpControllerTests.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/services/document-updater/test/unit/coffee/HttpController/HttpControllerTests.coffee b/services/document-updater/test/unit/coffee/HttpController/HttpControllerTests.coffee index 15b9142647..d7a27db854 100644 --- a/services/document-updater/test/unit/coffee/HttpController/HttpControllerTests.coffee +++ b/services/document-updater/test/unit/coffee/HttpController/HttpControllerTests.coffee @@ -13,6 +13,7 @@ describe "HttpController", -> flushProjectChangesAsync: sinon.stub() "./ProjectManager": @ProjectManager = {} "logger-sharelatex" : @logger = { log: sinon.stub() } + "./ProjectFlusher": {flushAllProjects:->} "./Metrics": @Metrics = {} "./Errors" : Errors @Metrics.Timer = class Timer