[2.0] DDC-277 - Remove support "default" option in metadata mappings, but keep it as a concept in DBAL layer to support for example versionable entities.
This commit is contained in:
parent
eebb7c7e18
commit
21de3d3ff2
@ -35,7 +35,6 @@ class DatabaseDriverTest extends \Doctrine\Tests\OrmFunctionalTestCase
|
||||
$this->assertEquals('id', $metadata->fieldMappings['id']['fieldName']);
|
||||
$this->assertEquals('id', strtolower($metadata->fieldMappings['id']['columnName']));
|
||||
$this->assertEquals('integer', (string)$metadata->fieldMappings['id']['type']);
|
||||
$this->assertEquals('', $metadata->fieldMappings['id']['default']);
|
||||
$this->assertTrue($metadata->fieldMappings['id']['notnull']);
|
||||
|
||||
$this->assertArrayHasKey('bar', $metadata->fieldMappings);
|
||||
|
Loading…
Reference in New Issue
Block a user