1
0
mirror of synced 2024-12-13 14:56:01 +03:00

Re-arrenge order of statements to avoid conflicts

This commit is contained in:
jackbravo 2007-09-10 18:10:58 +00:00
parent b08d722cdc
commit 8957624564

View File

@ -788,14 +788,13 @@ class Doctrine_Record_TestCase extends Doctrine_UnitTestCase
// REPLACING OLD ASSOCIATED REFERENCE
$user->Group[1] = $group1;
$user->save();
$user->Group[0] = $group2;
$user->save();
$user = $this->objTable->find(5);
$this->assertEqual($user->Group->count(), 2);
$this->assertEqual($user->Group[0]->identifier(), $group2->identifier());
$this->assertEqual($user->Group[1]->identifier(), $group1->identifier());
$this->assertEqual($user->Group[0]->identifier(), $group1->identifier());
$this->assertEqual($user->Group[1]->identifier(), $group2->identifier());
$group3 = $gf->find(3);