Skip to content

Commit

Permalink
Fix test issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
zimmermanj42 committed Jul 4, 2014
1 parent 65e7cc9 commit 6a48675
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/Doctrine/Tests/ORM/Functional/Ticket/DDC3160Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
namespace Doctrine\Tests\ORM\Functional\Ticket;

use Doctrine\Tests\Models\CMS\CmsUser;
use Doctrine\Tests\Models\CMS\CmsPhonenumber;
use Doctrine\ORM\Event\OnFlushEventArgs;
use Doctrine\ORM\Events;
use Doctrine\Tests\OrmFunctionalTestCase;

/**
* FlushEventTest
*
* @author robo
*/
class FlushEventTest extends \Doctrine\Tests\OrmFunctionalTestCase
class DDC3160Test extends OrmFunctionalTestCase
{
protected function setUp() {
$this->useModelSet('cms');
Expand All @@ -24,7 +24,7 @@ protected function setUp() {
*/
public function testNoUpdateOnInsert()
{
$listener = new OnFlushListener();
$listener = new DDC3160OnFlushListener();
$this->_em->getEventManager()->addEventListener(Events::onFlush, $listener);

$user = new CmsUser;
Expand All @@ -43,7 +43,7 @@ public function testNoUpdateOnInsert()
}
}

class OnFlushListener
class DDC3160OnFlushListener
{
public $inserts = 0;
public $updates = 0;
Expand Down

0 comments on commit 6a48675

Please sign in to comment.