|
@@ -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"
|