Commit 89576245 authored by jackbravo's avatar jackbravo

Re-arrenge order of statements to avoid conflicts

parent b08d722c
...@@ -788,14 +788,13 @@ class Doctrine_Record_TestCase extends Doctrine_UnitTestCase ...@@ -788,14 +788,13 @@ class Doctrine_Record_TestCase extends Doctrine_UnitTestCase
// REPLACING OLD ASSOCIATED REFERENCE // REPLACING OLD ASSOCIATED REFERENCE
$user->Group[1] = $group1; $user->Group[1] = $group1;
$user->save();
$user->Group[0] = $group2; $user->Group[0] = $group2;
$user->save(); $user->save();
$user = $this->objTable->find(5);
$this->assertEqual($user->Group->count(), 2); $this->assertEqual($user->Group->count(), 2);
$this->assertEqual($user->Group[0]->identifier(), $group2->identifier()); $this->assertEqual($user->Group[0]->identifier(), $group1->identifier());
$this->assertEqual($user->Group[1]->identifier(), $group1->identifier()); $this->assertEqual($user->Group[1]->identifier(), $group2->identifier());
$group3 = $gf->find(3); $group3 = $gf->find(3);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment