Changeset 3530
- Timestamp:
- 01/16/08 21:02:19 (18 months ago)
- Files:
-
- 1 modified
-
branches/0.10/tests/I18nTestCase.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/0.10/tests/I18nTestCase.php
r3452 r3530 94 94 95 95 } 96 96 97 97 98 public function testUpdatingI18nItems() 98 99 { 99 100 $i = Doctrine_Query::create()->query('FROM I18nTest')->getFirst(); 100 101 101 102 $i->Translation['EN']->name = 'updated name'; 102 103 $i->Translation['EN']->title = 'updated title'; 103 104 104 105 $i->Translation->save(); 105 106 107 $this->conn->clear(); 108 109 $t = Doctrine_Query::create()->from('I18nTestTranslation')->fetchOne(); 110 106 111 $this->assertEqual($t->name, 'updated name'); 107 112 $this->assertEqual($t->title, 'updated title'); 108 113 } 114 109 115 110 116 public function testDataFetching()