Fix test on some RDBMS
This commit is contained in:
parent
11de4c2e72
commit
45e9d6ed5a
@ -74,8 +74,9 @@ class PersistentCollectionCriteriaTest extends \Doctrine\Tests\OrmFunctionalTest
|
||||
$this->loadFixture();
|
||||
$repository = $this->_em->getRepository('Doctrine\Tests\Models\Company\CompanyOrganization');
|
||||
|
||||
$organization = $repository->find(1);
|
||||
$events = $organization->events->matching(new Criteria());
|
||||
$organizations = $repository->findAll();
|
||||
$organization = $organizations[0];
|
||||
$events = $organization->events->matching(new Criteria());
|
||||
|
||||
$this->assertInstanceOf('Doctrine\ORM\LazyCriteriaCollection', $events);
|
||||
$this->assertFalse($events->isInitialized());
|
||||
|
Loading…
x
Reference in New Issue
Block a user