Merge pull request #1213 from sharelatex/ta-fix-mocks

Fix Missing Mocks

GitOrigin-RevId: 1ef7359eb65dd7dc0a4b48547b0a8b47e5dc318e
This commit is contained in:
Timothée Alby 2018-12-05 16:53:46 +02:00 committed by sharelatex
parent 2973302e73
commit e0148bf69b

View file

@ -21,6 +21,9 @@ describe "TemplatesController", ->
"./TemplatesManager": @TemplatesManager = { "./TemplatesManager": @TemplatesManager = {
createProjectFromV1Template: sinon.stub() createProjectFromV1Template: sinon.stub()
} }
"logger-sharelatex":
log:->
err:->
@next = sinon.stub() @next = sinon.stub()
@req = @req =
body: body: