1
0
mirror of synced 2025-02-20 22:23:14 +03:00

#1169 DDC-3343 - correcting collection name used in tests

This commit is contained in:
Marco Pivetta 2015-01-27 07:45:58 +01:00
parent a0eb6005f3
commit 3f28adf9b6

View File

@ -1141,7 +1141,7 @@ class ExtraLazyCollectionTest extends OrmFunctionalTestCase
/* @var $user User */
$user = $this->_em->find(User::CLASSNAME, $userId);
$user->tweets->removeElement($this->_em->find(UserList::CLASSNAME, $userListId));
$user->userLists->removeElement($this->_em->find(UserList::CLASSNAME, $userListId));
$this->_em->clear();
@ -1194,7 +1194,7 @@ class ExtraLazyCollectionTest extends OrmFunctionalTestCase
/* @var $user User */
$user = $this->_em->find(User::CLASSNAME, $userId);
$user->tweets->removeElement($this->_em->getReference(UserList::CLASSNAME, $userListId));
$user->userLists->removeElement($this->_em->getReference(UserList::CLASSNAME, $userListId));
$this->_em->clear();