diff --git a/tests/Doctrine/Tests/ORM/Functional/HydrationCacheTest.php b/tests/Doctrine/Tests/ORM/Functional/HydrationCacheTest.php index 9f3acf8c6..2012e1c99 100644 --- a/tests/Doctrine/Tests/ORM/Functional/HydrationCacheTest.php +++ b/tests/Doctrine/Tests/ORM/Functional/HydrationCacheTest.php @@ -57,16 +57,6 @@ class HydrationCacheTest extends OrmFunctionalTestCase ->getArrayResult(); $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'); } }