public function testDefaultPageConfig() { $this->load(); $defaultConfig = array('layouts' => $this->container->getParameter('ezpublish.ezpage.layouts'), 'blocks' => $this->container->getParameter('ezpublish.ezpage.blocks'), 'enabledLayouts' => $this->container->getParameter('ezpublish.ezpage.enabledLayouts'), 'enabledBlocks' => $this->container->getParameter('ezpublish.ezpage.enabledBlocks')); $this->assertSame($defaultConfig, $this->container->getParameter('ezsettings.default.ezpage')); // For each siteaccess we expect to only have enabled layout/blocks $pageConfigForSiteaccess = $this->getPageConfigForSiteaccessFromDefaults($defaultConfig); $this->assertConfigResolverParameterValue('ezpage', $pageConfigForSiteaccess, 'ezdemo_site'); $this->assertConfigResolverParameterValue('ezpage', $pageConfigForSiteaccess, 'fre'); }