Show
Ignore:
Timestamp:
03/05/08 11:24:33 (10 months ago)
Author:
romanb
Message:

refactorings, a bug fix (#786) and improved performance for the hydration of results from polymorphic queries.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/tests_old/Ticket/428TestCase.php

    r3882 r3931  
    1414class Doctrine_Ticket_428_TestCase extends Doctrine_UnitTestCase 
    1515{ 
     16    private $_albums; 
     17     
    1618    public function prepareTables() 
    1719    { 
     
    3739        $albums->save(); 
    3840        $this->assertEqual(count($albums[0]->Song), 4); 
     41        $this->_albums = $albums; 
    3942    } 
    4043 
    4144    public function testAggregateValueMappingSupportsLeftJoins()  
    4245    { 
     46        foreach ($this->_albums as $album) { 
     47            $album->clearRelated(); 
     48        } 
     49         
    4350        $q = new Doctrine_Query(); 
    4451