[DDC-1766] Remove some testcode
This commit is contained in:
parent
306f9e0ca2
commit
864fbbdaaf
@ -57,16 +57,6 @@ class HydrationCacheTest extends OrmFunctionalTestCase
|
|||||||
->getArrayResult();
|
->getArrayResult();
|
||||||
|
|
||||||
$this->assertEquals($c + 1, $this->getCurrentQueryCount(), "Hydration now cached");
|
$this->assertEquals($c + 1, $this->getCurrentQueryCount(), "Hydration now cached");
|
||||||
|
|
||||||
$dql = "SELECT u FROM Doctrine\Tests\Models\Cms\CmsUser u";
|
|
||||||
$users = $this->_em->createQuery($dql)
|
|
||||||
->setHydrationCacheProfile(new QueryCacheProfile('cachekey', null, $cache))
|
|
||||||
->getArrayResult();
|
|
||||||
|
|
||||||
$data = $this->readAttribute($cache, 'data');
|
|
||||||
var_dump(array_keys($data));
|
|
||||||
|
|
||||||
$this->assertTrue($cache->contains('cachekey'), 'Explicit cache key');
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user