#1169 DDC-3343 - refactoring test to use pre-existing test models
This commit is contained in:
parent
aed01ea571
commit
15397bbe40
@ -168,6 +168,8 @@ class OneToManyPersister extends AbstractCollectionPersister
|
||||
// clearing owning side value
|
||||
$targetMetadata->reflFields[$mapping['mappedBy']]->setValue($element, null);
|
||||
|
||||
$this->uow->computeChangeSet($targetMetadata, $element);
|
||||
|
||||
$persister->update($element);
|
||||
|
||||
return true;
|
||||
|
@ -8,6 +8,8 @@ namespace Doctrine\Tests\Models\Tweet;
|
||||
*/
|
||||
class Tweet
|
||||
{
|
||||
const CLASSNAME = __CLASS__;
|
||||
|
||||
/**
|
||||
* @Id
|
||||
* @GeneratedValue
|
||||
|
@ -10,6 +10,8 @@ use Doctrine\Common\Collections\ArrayCollection;
|
||||
*/
|
||||
class User
|
||||
{
|
||||
const CLASSNAME = __CLASS__;
|
||||
|
||||
/**
|
||||
* @Id
|
||||
* @GeneratedValue
|
||||
|
Loading…
x
Reference in New Issue
Block a user