1
0
mirror of synced 2024-12-13 06:46:03 +03:00

Listener class prefix

This commit is contained in:
Stefan Kleff 2013-09-20 09:20:58 +02:00
parent 619c6a03ce
commit adf2b7cce7

View File

@ -29,7 +29,7 @@ class DDC2692Test extends \Doctrine\Tests\OrmFunctionalTestCase
public function testIsListenerCalledOnlyOnceOnPreFlush()
{
$listener = $this->getMock('Doctrine\Tests\ORM\Functional\Ticket\Listener', array('preFlush'));
$listener = $this->getMock('Doctrine\Tests\ORM\Functional\Ticket\DDC2692Listener', array('preFlush'));
$listener->expects($this->once())->method('preFlush');
$this->_em->getEventManager()->addEventSubscriber($listener);
@ -50,7 +50,7 @@ class DDC2692Foo
public $id;
}
class Listener implements EventSubscriber {
class DDC2692Listener implements EventSubscriber {
public function getSubscribedEvents() {
return array(\Doctrine\ORM\Events::preFlush);