From c2777918fa6998a69a7070f301cbe49f9abc0248 Mon Sep 17 00:00:00 2001 From: James Allen Date: Tue, 17 Jul 2018 11:26:07 +0100 Subject: [PATCH] Add some missing unit test mocks --- services/web/test/unit/coffee/User/UserUpdaterTests.coffee | 2 ++ 1 file changed, 2 insertions(+) diff --git a/services/web/test/unit/coffee/User/UserUpdaterTests.coffee b/services/web/test/unit/coffee/User/UserUpdaterTests.coffee index 3820e2a448..374fdd222d 100644 --- a/services/web/test/unit/coffee/User/UserUpdaterTests.coffee +++ b/services/web/test/unit/coffee/User/UserUpdaterTests.coffee @@ -29,6 +29,8 @@ describe "UserUpdater", -> removeAffiliation: @removeAffiliation "../../infrastructure/mongojs":@mongojs "metrics-sharelatex": timeAsyncMethod: sinon.stub() + "settings-sharelatex": @settings = {} + "request": @request = {} @stubbedUser = _id: "3131231"