Changeset 3951

Show
Ignore:
Timestamp:
03/08/08 06:42:27 (16 months ago)
Author:
jwage
Message:

fixes #672

Location:
branches/0.10
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • branches/0.10/lib/Doctrine/Record/Generator.php

    r3914 r3951  
    143143 
    144144        $fk = $this->buildForeignKeys($this->_options['table']); 
    145          
     145 
    146146        $this->_table->setColumns($fk); 
    147147 
     
    154154 
    155155        $this->buildChildDefinitions(); 
     156 
     157        $this->_table->initIdentifier(); 
    156158    } 
    157159 
  • branches/0.10/tests/I18nTestCase.php

    r3884 r3951  
    118118        $i = Doctrine_Query::create()->from('I18nTest i')->innerJoin('i.Translation t INDEXBY t.lang')->orderby('t.lang')->fetchOne(array(), Doctrine::HYDRATE_ARRAY); 
    119119 
    120         $this->assertEqual($i['Translation']['EN']['name'], 'some name'); 
    121         $this->assertEqual($i['Translation']['EN']['title'], 'some title'); 
     120        $this->assertEqual($i['Translation']['EN']['name'], 'updated name'); 
     121        $this->assertEqual($i['Translation']['EN']['title'], 'updated title'); 
    122122        $this->assertEqual($i['Translation']['EN']['lang'], 'EN'); 
    123123