Fix tests to add new Features dependency

This commit is contained in:
Alasdair Smith 2018-07-16 14:21:10 +01:00
parent 9cd3f32365
commit 823e12e4a8

View file

@ -72,6 +72,8 @@ describe "ProjectController", ->
@Modules =
hooks:
fire: sinon.stub()
@Features =
hasFeature: sinon.stub()
@ProjectController = SandboxedModule.require modulePath, requires:
"settings-sharelatex":@settings
"logger-sharelatex":
@ -102,6 +104,7 @@ describe "ProjectController", ->
"../../infrastructure/Modules": @Modules
"./ProjectEntityHandler": @ProjectEntityHandler
"../Errors/Errors": Errors
"../../Infrastructure/Features": @Features
@projectName = "£12321jkj9ujkljds"
@req =