1
0
mirror of synced 2025-02-20 22:23:14 +03:00

[DDC-3343] Failing test case (updated)

This commit is contained in:
Andrea Sprega 2014-10-25 00:02:57 +02:00 committed by Marco Pivetta
parent db3697433b
commit c2b3348f99

View File

@ -39,14 +39,11 @@ class DDC3343Test extends \Doctrine\Tests\OrmFunctionalTestCase
$group->users->removeElement($user);
$this->_em->persist($group);
$this->_em->flush();
// Even if the collection is extra lazy, the user should not have been deleted.
// Even though the collection is extra lazy, the user should not have been deleted.
$this->_em->clear();
$user = $this->_em->find(__NAMESPACE__ . '\DDC3343User', $user->id);
$this->assertNotNull($user);
$this->assertInstanceOf(__NAMESPACE__ . '\DDC3343User', $user);
}
}