1
0
mirror of synced 2024-12-14 15:16:04 +03:00

removed unused use statements, fixed typo and group tag

This commit is contained in:
Stefan Kleff 2013-09-19 15:16:51 +02:00
parent d4a08f7ab7
commit 619c6a03ce

View File

@ -4,11 +4,9 @@ namespace Doctrine\Tests\ORM\Functional\Ticket;
use Doctrine\Common\EventSubscriber; use Doctrine\Common\EventSubscriber;
use Doctrine\ORM\Event\PreFlushEventArgs; use Doctrine\ORM\Event\PreFlushEventArgs;
use Doctrine\ORM\Query\ResultSetMappingBuilder;
use Doctrine\Common\Collections\ArrayCollection;
/** /**
* @group * @group DDC-2692
*/ */
class DDC2692Test extends \Doctrine\Tests\OrmFunctionalTestCase class DDC2692Test extends \Doctrine\Tests\OrmFunctionalTestCase
{ {
@ -29,7 +27,7 @@ class DDC2692Test extends \Doctrine\Tests\OrmFunctionalTestCase
$this->_em->clear(); $this->_em->clear();
} }
public function testListenerCalledOneOnPreFlush() public function testIsListenerCalledOnlyOnceOnPreFlush()
{ {
$listener = $this->getMock('Doctrine\Tests\ORM\Functional\Ticket\Listener', array('preFlush')); $listener = $this->getMock('Doctrine\Tests\ORM\Functional\Ticket\Listener', array('preFlush'));
$listener->expects($this->once())->method('preFlush'); $listener->expects($this->once())->method('preFlush');