Fix typo
This commit is contained in:
parent
6d7b3863b5
commit
3f9a4c82b0
1 changed files with 3 additions and 3 deletions
|
@ -268,9 +268,9 @@ class ConfigurationTest extends PHPUnit_Framework_TestCase
|
||||||
{
|
{
|
||||||
$this->assertInstanceOf('Doctrine\ORM\Mapping\EntityListenerResolver', $this->configuration->getEntityListenerResolver());
|
$this->assertInstanceOf('Doctrine\ORM\Mapping\EntityListenerResolver', $this->configuration->getEntityListenerResolver());
|
||||||
$this->assertInstanceOf('Doctrine\ORM\Mapping\DefaultEntityListenerResolver', $this->configuration->getEntityListenerResolver());
|
$this->assertInstanceOf('Doctrine\ORM\Mapping\DefaultEntityListenerResolver', $this->configuration->getEntityListenerResolver());
|
||||||
$quoteStrategy = $this->getMock('Doctrine\ORM\Mapping\EntityListenerResolver');
|
$resolver = $this->getMock('Doctrine\ORM\Mapping\EntityListenerResolver');
|
||||||
$this->configuration->setEntityListenerResolver($quoteStrategy);
|
$this->configuration->setEntityListenerResolver($resolver);
|
||||||
$this->assertSame($quoteStrategy, $this->configuration->getEntityListenerResolver());
|
$this->assertSame($resolver, $this->configuration->getEntityListenerResolver());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue