1
0
mirror of synced 2025-01-10 02:57:10 +03:00

skips DQL UPDATE/DELETE tests with SLC enabled

This commit is contained in:
Johannes Schmitt 2014-01-04 18:32:06 +01:00
parent 946419459c
commit 7020f4135f

View File

@ -109,6 +109,10 @@ class ValueObjectsTest extends \Doctrine\Tests\OrmFunctionalTestCase
*/ */
public function testDqlOnEmbeddedObjectsField() public function testDqlOnEmbeddedObjectsField()
{ {
if ($this->isSecondLevelCacheEnabled) {
$this->markTestSkipped('SLC does not work with UPDATE/DELETE queries through EM.');
}
$person = new DDC93Person('Johannes', new DDC93Address('Moo', '12345', 'Karlsruhe')); $person = new DDC93Person('Johannes', new DDC93Address('Moo', '12345', 'Karlsruhe'));
$this->_em->persist($person); $this->_em->persist($person);
$this->_em->flush($person); $this->_em->flush($person);