1
0
mirror of synced 2025-01-19 06:51:40 +03:00

#1277 DDC-3346 DDC-3531 - proper bi-directional association setup

This commit is contained in:
Marco Pivetta 2015-01-23 16:23:11 +01:00
parent 39a8941d1b
commit 186c593058

View File

@ -65,6 +65,8 @@ class DDC3346Test extends \Doctrine\Tests\OrmFunctionalTestCase
$user->username = 'bwoogy'; $user->username = 'bwoogy';
$article1->user = $user; $article1->user = $user;
$article2->user = $user; $article2->user = $user;
$user->articles[] = $article1;
$user->articles[] = $article2;
$this->_em->persist($user); $this->_em->persist($user);
$this->_em->persist($article1); $this->_em->persist($article1);