DDC-282 - Additional assertions to show that use of (bool) for cascade in xml driver is working correctly
This commit is contained in:
parent
d76096d045
commit
1e135d951e
@ -82,6 +82,10 @@ class MappingDriverTest extends \Doctrine\Tests\OrmTestCase
|
||||
$this->assertFalse($class->associationMappings['phonenumbers']->isOwningSide);
|
||||
$this->assertTrue($class->associationMappings['phonenumbers']->isInverseSide());
|
||||
$this->assertTrue($class->associationMappings['phonenumbers']->isCascadePersist);
|
||||
$this->assertFalse($class->associationMappings['phonenumbers']->isCascadeRemove);
|
||||
$this->assertFalse($class->associationMappings['phonenumbers']->isCascadeRefresh);
|
||||
$this->assertFalse($class->associationMappings['phonenumbers']->isCascadeDetach);
|
||||
$this->assertFalse($class->associationMappings['phonenumbers']->isCascadeMerge);
|
||||
|
||||
$this->assertTrue($class->associationMappings['groups'] instanceof \Doctrine\ORM\Mapping\ManyToManyMapping);
|
||||
$this->assertTrue(isset($class->associationMappings['groups']));
|
||||
|
Loading…
x
Reference in New Issue
Block a user