Skip to content

Commit

Permalink
doctrine#1277 DDC-3346 DDC-3531 - proper bi-directional association s…
Browse files Browse the repository at this point in the history
…etup
  • Loading branch information
Ocramius committed Jan 24, 2015
1 parent 39a8941 commit 186c593
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tests/Doctrine/Tests/ORM/Functional/Ticket/DDC3346Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,11 @@ private function loadAuthorFixture()
$article1 = new DDC3346Article();
$article2 = new DDC3346Article();

$user->username = 'bwoogy';
$article1->user = $user;
$article2->user = $user;
$user->username = 'bwoogy';
$article1->user = $user;
$article2->user = $user;
$user->articles[] = $article1;
$user->articles[] = $article2;

$this->_em->persist($user);
$this->_em->persist($article1);
Expand Down

0 comments on commit 186c593

Please sign in to comment.