Changeset 3951
- Timestamp:
- 03/08/08 01:42:27 (2 years ago)
- Location:
- branches/0.10
- Files:
-
- 2 modified
-
lib/Doctrine/Record/Generator.php (modified) (2 diffs)
-
tests/I18nTestCase.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/0.10/lib/Doctrine/Record/Generator.php
r3914 r3951 143 143 144 144 $fk = $this->buildForeignKeys($this->_options['table']); 145 145 146 146 $this->_table->setColumns($fk); 147 147 … … 154 154 155 155 $this->buildChildDefinitions(); 156 157 $this->_table->initIdentifier(); 156 158 } 157 159 -
branches/0.10/tests/I18nTestCase.php
r3884 r3951 118 118 $i = Doctrine_Query::create()->from('I18nTest i')->innerJoin('i.Translation t INDEXBY t.lang')->orderby('t.lang')->fetchOne(array(), Doctrine::HYDRATE_ARRAY); 119 119 120 $this->assertEqual($i['Translation']['EN']['name'], ' somename');121 $this->assertEqual($i['Translation']['EN']['title'], ' sometitle');120 $this->assertEqual($i['Translation']['EN']['name'], 'updated name'); 121 $this->assertEqual($i['Translation']['EN']['title'], 'updated title'); 122 122 $this->assertEqual($i['Translation']['EN']['lang'], 'EN'); 123 123