eZ\Publish\Core\Persistence\Legacy\Tests\Content\MapperTest::extractContentInfoFromRowProvider PHP Method

extractContentInfoFromRowProvider() public method

Returns test data for {@link testExtractContentInfoFromRow()}.
    public function extractContentInfoFromRowProvider()
    {
        $fixtures = $this->getContentExtractFixture();
        $fixturesNoPrefix = array();
        foreach ($fixtures[0] as $key => $value) {
            $keyNoPrefix = $key === 'ezcontentobject_tree_main_node_id' ? $key : str_replace('ezcontentobject_', '', $key);
            $fixturesNoPrefix[$keyNoPrefix] = $value;
        }
        return array(array($fixtures[0], 'ezcontentobject_'), array($fixturesNoPrefix, ''));
    }