added failing test
This commit is contained in:
parent
51528fbdea
commit
19c52e4ae1
@ -50,6 +50,9 @@ class ResolveTargetEntityListenerTest extends \Doctrine\Tests\OrmTestCase
|
|||||||
array()
|
array()
|
||||||
);
|
);
|
||||||
$evm->addEventListener(Events::loadClassMetadata, $this->listener);
|
$evm->addEventListener(Events::loadClassMetadata, $this->listener);
|
||||||
|
|
||||||
|
$this->assertNotNull($this->factory->getMetadataFor('Doctrine\Tests\ORM\Tools\ResolveTargetInterface'));
|
||||||
|
|
||||||
$cm = $this->factory->getMetadataFor('Doctrine\Tests\ORM\Tools\ResolveTargetEntity');
|
$cm = $this->factory->getMetadataFor('Doctrine\Tests\ORM\Tools\ResolveTargetEntity');
|
||||||
$meta = $cm->associationMappings;
|
$meta = $cm->associationMappings;
|
||||||
$this->assertSame('Doctrine\Tests\ORM\Tools\TargetEntity', $meta['manyToMany']['targetEntity']);
|
$this->assertSame('Doctrine\Tests\ORM\Tools\TargetEntity', $meta['manyToMany']['targetEntity']);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user