1
0
mirror of synced 2024-12-13 22:56:04 +03:00

DDC-920 - Fix bug in DetachedEntityTest that occours with pre-persist generators (Postgresql, Oracle). Didnt came up when testing against Sqlite.

This commit is contained in:
Benjamin Eberlei 2010-12-12 15:43:12 +01:00
parent 3c0f92f4c7
commit 6c26af069c

View File

@ -189,7 +189,8 @@ class DetachedEntityTest extends \Doctrine\Tests\OrmFunctionalTestCase
$this->_em->flush();
$this->assertNull($user->id);
$this->assertFalse($this->_em->contains($user));
$this->assertFalse($this->_em->getUnitOfWork()->isInIdentityMap($user));
}
}