Changeset 4219 for trunk/tests_old/Query

Show
Ignore:
Timestamp:
04/12/08 21:11:11 (9 months ago)
Author:
romanb
Message:

Refactorings along with a speed improvement on the Hydrator when processing joined resultsets. Other minor tweaks.

Location:
trunk/tests_old/Query
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/tests_old/Query/LimitTestCase.php

    r3882 r4219  
    224224        $this->assertEqual(count($user->Group), 3); 
    225225 
    226         $this->connection->flush(); 
     226        $this->connection->unitOfWork->saveAll(); 
    227227 
    228228        $this->assertEqual($user->Group[0]->name, "Action Actors"); 
     
    281281        $coll[3]->Tag[0]->tag = "Other tag"; 
    282282        $coll[3]->name = "photo 4"; 
    283         $this->connection->flush(); 
     283        $this->connection->unitOfWork->saveAll(); 
    284284 
    285285        $q = new Doctrine_Query(); 
  • trunk/tests_old/Query/ReferenceModelTestCase.php

    r3882 r4219  
    5858        $category->Subcategory[1]->Subcategory[1]->name = 'Sub 2 Sub 2'; 
    5959 
    60         $this->connection->flush(); 
     60        $this->connection->unitOfWork->saveAll(); 
    6161        $this->connection->clear(); 
    6262