This commit is contained in:
parent
7c38b01295
commit
ff42bc9f90
@ -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');
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user