Permalink
Browse files

PRESIDECMS-1418 fix constructor change to siteservice

  • Loading branch information...
DominicWatson committed Dec 20, 2018
1 parent 5dd54b9 commit ce5935b3ae8a2f304d101e03d16d4a68324aaa2c
Showing with 4 additions and 1 deletion.
  1. +4 −1 support/tests/integration/api/sitetree/SiteServiceTest.cfc
@@ -83,7 +83,10 @@ component extends="tests.resources.HelperObjects.PresideBddTestCase" {
mockPermissionService = createStub();
mockColdbox = createEmptyMock( "preside.system.coldboxModifications.Controller" );

return new preside.system.services.sitetree.SiteService(
var svc = createMock( object=CreateObject( "preside.system.services.sitetree.SiteService" ) )
svc.$( "$isFeatureEnabled", true );

return svc.init(
siteDao = presideObjectService.getObject( "site" )
, siteAliasDomainDao = presideObjectService.getObject( "site_alias_domain" )
, siteRedirectDomainDao = presideObjectService.getObject( "site_redirect_domain" )

0 comments on commit ce5935b

Please sign in to comment.