Add some missing unit test mocks

This commit is contained in:
James Allen 2018-07-17 11:26:07 +01:00
parent 2c25cbaf25
commit c2777918fa

View file

@ -29,6 +29,8 @@ describe "UserUpdater", ->
removeAffiliation: @removeAffiliation removeAffiliation: @removeAffiliation
"../../infrastructure/mongojs":@mongojs "../../infrastructure/mongojs":@mongojs
"metrics-sharelatex": timeAsyncMethod: sinon.stub() "metrics-sharelatex": timeAsyncMethod: sinon.stub()
"settings-sharelatex": @settings = {}
"request": @request = {}
@stubbedUser = @stubbedUser =
_id: "3131231" _id: "3131231"