1
0
mirror of synced 2025-02-02 13:31:45 +03:00

#1169 DDC-3343 - updating test expectations - one-to-many changes should be no-op unless orphan removal is specified.

This commit is contained in:
Marco Pivetta 2015-01-27 06:26:55 +01:00
parent af59ea962f
commit 94c0e46c96

View File

@ -730,7 +730,7 @@ class ExtraLazyCollectionTest extends \Doctrine\Tests\OrmFunctionalTestCase
'Even though the collection is extra lazy, the tweet should not have been deleted' 'Even though the collection is extra lazy, the tweet should not have been deleted'
); );
$this->assertNull($tweet->author); $this->assertInstanceOf(User::CLASSNAME, $tweet->author);
/* @var $user User */ /* @var $user User */
$user = $this->_em->find(User::CLASSNAME, $userId); $user = $this->_em->find(User::CLASSNAME, $userId);