Changeset 4039

Show
Ignore:
Timestamp:
03/19/08 05:45:47 (16 months ago)
Author:
jwage
Message:

added test case for ticket #849

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/0.10/tests/RecordTestCase.php

    r4035 r4039  
    4141        $this->tables[] = 'Book'; 
    4242        $this->tables[] = 'EntityAddress'; 
     43        $this->tables[] = 'UnderscoreColumn'; 
    4344        parent::prepareTables(); 
    4445    } 
     
    904905        } 
    905906    } 
     907     
     908    /* 
     909    public function testFirstCharUnderscoreColumn() 
     910    { 
     911        $record = new UnderscoreColumn(); 
     912        $record->_underscore_ = 'test'; 
     913        $record->save(); 
     914         
     915        $this->assertEqual($record->_underscore_, 'test'); 
     916        $this->assertTrue($record->id); 
     917         
     918        $query = new Doctrine_Query(); 
     919        $query->from('UnderscoreColumn'); 
     920         
     921        $result = $query->execute()->getFirst(); 
     922        $this->assertEqual($result->_underscore_, 'test'); 
     923    } 
     924    */ 
    906925}