test join table quote
This commit is contained in:
parent
2b8e24fb09
commit
7215c1a3b1
@ -309,7 +309,9 @@ class ClassMetadataFactoryTest extends \Doctrine\Tests\OrmTestCase
|
|||||||
$this->assertEquals('address-id', $address['joinColumns'][0]['referencedColumnName']);
|
$this->assertEquals('address-id', $address['joinColumns'][0]['referencedColumnName']);
|
||||||
|
|
||||||
$groups = $userMetadata->associationMappings['groups'];
|
$groups = $userMetadata->associationMappings['groups'];
|
||||||
|
$this->assertTrue($groups['joinTable']['quoted']);
|
||||||
$this->assertTrue($groups['joinTable']['joinColumns'][0]['quoted']);
|
$this->assertTrue($groups['joinTable']['joinColumns'][0]['quoted']);
|
||||||
|
$this->assertEquals('quote-users-groups', $groups['joinTable']['name']);
|
||||||
$this->assertEquals('user-id', $groups['joinTable']['joinColumns'][0]['name']);
|
$this->assertEquals('user-id', $groups['joinTable']['joinColumns'][0]['name']);
|
||||||
$this->assertEquals('user-id', $groups['joinTable']['joinColumns'][0]['referencedColumnName']);
|
$this->assertEquals('user-id', $groups['joinTable']['joinColumns'][0]['referencedColumnName']);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user