From 94c0e46c96e5be6eba2033a9bb313e51ba1d2ef9 Mon Sep 17 00:00:00 2001 From: Marco Pivetta Date: Tue, 27 Jan 2015 06:26:55 +0100 Subject: [PATCH] #1169 DDC-3343 - updating test expectations - one-to-many changes should be no-op unless orphan removal is specified. --- tests/Doctrine/Tests/ORM/Functional/ExtraLazyCollectionTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Doctrine/Tests/ORM/Functional/ExtraLazyCollectionTest.php b/tests/Doctrine/Tests/ORM/Functional/ExtraLazyCollectionTest.php index ab160d384..2aea54200 100644 --- a/tests/Doctrine/Tests/ORM/Functional/ExtraLazyCollectionTest.php +++ b/tests/Doctrine/Tests/ORM/Functional/ExtraLazyCollectionTest.php @@ -730,7 +730,7 @@ class ExtraLazyCollectionTest extends \Doctrine\Tests\OrmFunctionalTestCase '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 */ $user = $this->_em->find(User::CLASSNAME, $userId);