1
0
mirror of synced 2025-03-20 23:13:57 +03:00

[DDC-1766] Remove some testcode

This commit is contained in:
Benjamin Eberlei 2012-04-04 23:24:51 +02:00
parent 306f9e0ca2
commit 864fbbdaaf

View File

@ -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');
} }
} }