Эх сурвалжийг харах

fix broken test for compile controller

Henry Oswald 8 жил өмнө
parent
commit
5a7b8f4887

+ 1 - 1
services/web/test/unit/coffee/Compile/CompileControllerTests.coffee

@@ -51,7 +51,7 @@ describe "CompileController", ->
 			"./ClsiManager": @ClsiManager
 			"./ClsiManager": @ClsiManager
 			"../Authentication/AuthenticationController": @AuthenticationController
 			"../Authentication/AuthenticationController": @AuthenticationController
 			"../../infrastructure/RateLimiter":@RateLimiter
 			"../../infrastructure/RateLimiter":@RateLimiter
-			"./ClsiCookieManager":@ClsiCookieManager
+			"./ClsiCookieManager": ()=> @ClsiCookieManager
 		@project_id = "project-id"
 		@project_id = "project-id"
 		@next = sinon.stub()
 		@next = sinon.stub()
 		@req = new MockRequest()
 		@req = new MockRequest()