1
0
mirror of synced 2024-12-13 14:56:01 +03:00
This commit is contained in:
zYne 2006-11-18 20:27:09 +00:00
parent 7c38b01295
commit ff42bc9f90

View File

@ -312,7 +312,18 @@ class Doctrine_Relation_ManyToMany_TestCase extends Doctrine_UnitTestCase {
$component = $component->getTable()->find($component->id);
$this->assertEqual($component->RTC1->count(), 2);
}
public function testManyToManySimpleUpdate() {
$component = $this->connection->getTable('M2MTest')->find(1);
$this->assertEqual($component->name, 2);
$component->name = 'changed name';
$component->save();
$this->assertEqual($component->name, 'changed name');
}
}
?>