#1521 DDC-2922 adapting test so the UnitOfWork
stops bragging about previous inconsistent states
This commit is contained in:
parent
2be32f249c
commit
645cccf2db
@ -746,6 +746,7 @@ class UnitOfWorkTest extends OrmTestCase
|
|||||||
self::assertEmpty($persister2->getInserts());
|
self::assertEmpty($persister2->getInserts());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$this->_unitOfWork->clear();
|
||||||
$this->_unitOfWork->persist(new CascadePersistedEntity());
|
$this->_unitOfWork->persist(new CascadePersistedEntity());
|
||||||
$this->_unitOfWork->commit();
|
$this->_unitOfWork->commit();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user