removed array_unique in Hydrate/Record and added test to run.php fixes #403
This commit is contained in:
parent
2865efcd08
commit
eca9f79dc8
@ -108,7 +108,7 @@ class Doctrine_Hydrate_Record extends Doctrine_Object
|
||||
public function flush()
|
||||
{
|
||||
// take snapshots from all initialized collections
|
||||
foreach (array_unique($this->_collections) as $key => $coll) {
|
||||
foreach ($this->_collections as $key => $coll) {
|
||||
$coll->takeSnapshot();
|
||||
}
|
||||
foreach ($this->_tables as $table) {
|
||||
|
@ -176,6 +176,8 @@ $test->addTestCase(new Doctrine_Relation_TestCase());
|
||||
//$test->addTestCase(new Doctrine_Relation_Access_TestCase());
|
||||
//$test->addTestCase(new Doctrine_Relation_ManyToMany_TestCase());
|
||||
|
||||
$test->addTestCase(new Doctrine_Relation_ManyToMany2_TestCase());
|
||||
|
||||
|
||||
$test->addTestCase(new Doctrine_Relation_OneToMany_TestCase());
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user