1
0
mirror of synced 2025-02-09 00:39:25 +03:00

[DDC-3741] Add test for AbstractQuery#setHydrationCacheProfile(null)

This commit is contained in:
Benjamin Eberlei 2015-06-16 21:56:25 +02:00
parent 6423a33a23
commit 8d1be42924

View File

@ -197,4 +197,15 @@ class QueryTest extends \Doctrine\Tests\OrmTestCase
$q2 = clone $query;
$this->assertSame($config->getDefaultQueryHints(), $q2->getHints());
}
/**
* @group DDC-3741
*/
public function testSetHydrationCacheProfileNull()
{
$query = $this->_em->createQuery();
$query->setHydrationCacheProfile(null);
$this->assertNull($query->getHydrationCacheProfile());
}
}