1
0
mirror of synced 2024-12-05 03:06:05 +03:00

Fixed more broken tests.

This commit is contained in:
Guilherme Blanco 2015-03-01 23:57:38 -05:00
parent 588c92875d
commit b1d918b124

View File

@ -390,7 +390,7 @@ abstract class AbstractEntityPersisterTest extends OrmTestCase
{
$mapping = $this->em->getClassMetadata('Doctrine\Tests\Models\Cache\Country');
$assoc = array('type' => 1);
$coll = new PersistentCollection($this->em, 'Foo', $mapping);
$coll = new PersistentCollection($this->em, $mapping, null);
$persister = $this->createPersisterDefault();
$entity = new Country("Foo");
@ -406,7 +406,7 @@ abstract class AbstractEntityPersisterTest extends OrmTestCase
{
$mapping = $this->em->getClassMetadata('Doctrine\Tests\Models\Cache\Country');
$assoc = array('type' => 1);
$coll = new PersistentCollection($this->em, 'Foo', $mapping);
$coll = new PersistentCollection($this->em, $mapping, null);
$persister = $this->createPersisterDefault();
$entity = new Country("Foo");