eZ\Bundle\EzPublishCoreBundle\Tests\DependencyInjection\Configuration\Parser\TemplatesTest::testFieldTemplates PHP Метод

testFieldTemplates() публичный Метод

public testFieldTemplates ( )
    public function testFieldTemplates()
    {
        $this->load();
        $fixedUpConfig = $this->getExpectedConfigFieldTemplates($this->config);
        $groupFieldTemplates = $fixedUpConfig['system']['ezdemo_frontend_group']['field_templates'];
        $demoSiteFieldTemplates = $fixedUpConfig['system']['ezdemo_site']['field_templates'];
        $this->assertConfigResolverParameterValue('field_templates', array_merge(array(array('template' => 'EzPublishCoreBundle::content_fields.html.twig', 'priority' => 0)), $groupFieldTemplates, $demoSiteFieldTemplates), 'ezdemo_site', false);
        $this->assertConfigResolverParameterValue('field_templates', array_merge(array(array('template' => 'EzPublishCoreBundle::content_fields.html.twig', 'priority' => 0)), $groupFieldTemplates), 'fre', false);
        $this->assertConfigResolverParameterValue('field_templates', array(array('template' => 'EzPublishCoreBundle::content_fields.html.twig', 'priority' => 0)), 'ezdemo_site_admin', false);
    }