[DDC-3741] Add test for AbstractQuery#setHydrationCacheProfile(null)
This commit is contained in:
parent
6423a33a23
commit
8d1be42924
@ -197,4 +197,15 @@ class QueryTest extends \Doctrine\Tests\OrmTestCase
|
|||||||
$q2 = clone $query;
|
$q2 = clone $query;
|
||||||
$this->assertSame($config->getDefaultQueryHints(), $q2->getHints());
|
$this->assertSame($config->getDefaultQueryHints(), $q2->getHints());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @group DDC-3741
|
||||||
|
*/
|
||||||
|
public function testSetHydrationCacheProfileNull()
|
||||||
|
{
|
||||||
|
$query = $this->_em->createQuery();
|
||||||
|
$query->setHydrationCacheProfile(null);
|
||||||
|
|
||||||
|
$this->assertNull($query->getHydrationCacheProfile());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user