eZ\Publish\Core\Persistence\Legacy\Tests\Content\Gateway\DoctrineDatabaseTest::testGetFieldIdsByType PHP Method

testGetFieldIdsByType() public method

    public function testGetFieldIdsByType()
    {
        $this->insertDatabaseFixture(__DIR__ . '/../_fixtures/contentobjects.php');
        $gateway = $this->getDatabaseGateway();
        $this->assertEquals(array('ezstring' => array(841), 'ezrichtext' => array(842), 'ezimage' => array(843), 'ezkeyword' => array(844)), $gateway->getFieldIdsByType(149));
    }
DoctrineDatabaseTest