From 864fbbdaaf6d9b7d5a78fccd126015dae82eeca0 Mon Sep 17 00:00:00 2001 From: Benjamin Eberlei Date: Wed, 4 Apr 2012 23:24:51 +0200 Subject: [PATCH] [DDC-1766] Remove some testcode --- .../Tests/ORM/Functional/HydrationCacheTest.php | 10 ---------- 1 file changed, 10 deletions(-) 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'); } }