diff --git a/services/web/test/UnitTests/coffee/User/UserControllerTests.coffee b/services/web/test/UnitTests/coffee/User/UserControllerTests.coffee index a33cf9f8d0..0254d49831 100644 --- a/services/web/test/UnitTests/coffee/User/UserControllerTests.coffee +++ b/services/web/test/UnitTests/coffee/User/UserControllerTests.coffee @@ -11,6 +11,9 @@ ObjectId = require("mongojs").ObjectId describe "UserController", -> beforeEach -> + + @UserDeleter = + deleteUser: sinon.stub().callsArgWith(1) @UserController = SandboxedModule.require modulePath, requires: "./UserDeleter": @UserDeleter "logger-sharelatex": {log:->}