public function testLocationView()
{
$this->load();
$expectedLocationView = $this->config['system']['ezdemo_frontend_group']['location_view'];
// Items that don't use a custom controller got converted to content view (location view depreciation)
unset($expectedLocationView['full']['frontpage']);
unset($expectedLocationView['line']['article']);
foreach ($expectedLocationView as &$rulesets) {
foreach ($rulesets as &$config) {
if (!isset($config['params'])) {
$config['params'] = array();
}
}
}
$this->assertConfigResolverParameterValue('location_view', $expectedLocationView, 'ezdemo_site', false);
$this->assertConfigResolverParameterValue('location_view', $expectedLocationView, 'fre', false);
$this->assertConfigResolverParameterValue('location_view', array(), 'ezdemo_site_admin', false);
}