eZ\Bundle\EzPublishCoreBundle\Tests\DependencyInjection\EzPublishCoreExtensionTest::testRepositoriesConfigurationSearchEmpty PHP Method

testRepositoriesConfigurationSearchEmpty() public method

    public function testRepositoriesConfigurationSearchEmpty()
    {
        $repositories = array('main' => array('storage' => array('engine' => 'persistentprudence', 'connection' => 'yes')));
        $expectedRepositories = array('main' => array('storage' => array('engine' => 'persistentprudence', 'connection' => 'yes', 'config' => array()), 'search' => array('engine' => '%ezpublish.api.search_engine.default%', 'connection' => null, 'config' => array()), 'fields_groups' => array('list' => ['content'], 'default' => 'content')));
        $this->load(array('repositories' => $repositories));
        $this->assertTrue($this->container->hasParameter('ezpublish.repositories'));
        $this->assertSame($expectedRepositories, $this->container->getParameter('ezpublish.repositories'));
    }