[DDC-3343] Failing test case (updated)
This commit is contained in:
parent
ee246af7e3
commit
a88550a70c
@ -39,14 +39,11 @@ class DDC3343Test extends \Doctrine\Tests\OrmFunctionalTestCase
|
|||||||
|
|
||||||
$group->users->removeElement($user);
|
$group->users->removeElement($user);
|
||||||
|
|
||||||
$this->_em->persist($group);
|
// Even though the collection is extra lazy, the user should not have been deleted.
|
||||||
$this->_em->flush();
|
|
||||||
|
|
||||||
// Even if the collection is extra lazy, the user should not have been deleted.
|
|
||||||
$this->_em->clear();
|
$this->_em->clear();
|
||||||
|
|
||||||
$user = $this->_em->find(__NAMESPACE__ . '\DDC3343User', $user->id);
|
$user = $this->_em->find(__NAMESPACE__ . '\DDC3343User', $user->id);
|
||||||
$this->assertNotNull($user);
|
$this->assertInstanceOf(__NAMESPACE__ . '\DDC3343User', $user);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user