diff --git a/tests/RelationManyToManyTestCase.php b/tests/RelationManyToManyTestCase.php index 3a8e3fcee..c2f7bf7b3 100644 --- a/tests/RelationManyToManyTestCase.php +++ b/tests/RelationManyToManyTestCase.php @@ -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'); } } ?>