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

testDeleteFieldDefinition() public method

    public function testDeleteFieldDefinition()
    {
        $this->insertDatabaseFixture(__DIR__ . '/_fixtures/existing_types.php');
        $gateway = $this->getGateway();
        $gateway->deleteFieldDefinition(1, 0, 119);
        $this->assertQueryResult(array(array(6)), $this->getDatabaseHandler()->createSelectQuery()->select('COUNT(*)')->from('ezcontentclass_attribute'));
    }