1
0
mirror of synced 2025-02-09 00:39:25 +03:00

#1521 DDC-2922 adapting test so the UnitOfWork stops bragging about previous inconsistent states

This commit is contained in:
Marco Pivetta 2017-08-22 10:24:46 +02:00
parent 2be32f249c
commit 645cccf2db
No known key found for this signature in database
GPG Key ID: 4167D3337FD9D629

View File

@ -746,6 +746,7 @@ class UnitOfWorkTest extends OrmTestCase
self::assertEmpty($persister2->getInserts());
}
$this->_unitOfWork->clear();
$this->_unitOfWork->persist(new CascadePersistedEntity());
$this->_unitOfWork->commit();