Changeset 4797

Show
Ignore:
Timestamp:
08/23/08 19:08:59 (5 months ago)
Author:
guilhermeblanco
Message:

Added coverage for #973 in 1.0 branch. Ticket was already addressed in another changeset

Location:
branches/1.0/tests
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • branches/1.0/tests/run.php

    r4796 r4797  
    4747$tickets->addTestCase(new Doctrine_Ticket_673_TestCase()); 
    4848$tickets->addTestCase(new Doctrine_Ticket_697_TestCase()); 
     49//$tickets->addTestCase(new Doctrine_Ticket_710_TestCase()); // Only uncomment if you want to check free() performance! 
    4950$tickets->addTestCase(new Doctrine_Ticket_736_TestCase()); 
    5051$tickets->addTestCase(new Doctrine_Ticket_741_TestCase()); 
    5152$tickets->addTestCase(new Doctrine_Ticket_749_TestCase()); 
    5253$tickets->addTestCase(new Doctrine_Ticket_786_TestCase()); 
    53 //$tickets->addTestCase(new Doctrine_Ticket_710_TestCase()); // Only uncomment if you want to check free() performance! 
    5454$tickets->addTestCase(new Doctrine_Ticket_832_TestCase()); 
    5555$tickets->addTestCase(new Doctrine_Ticket_838_TestCase()); 
     
    7373$tickets->addTestCase(new Doctrine_Ticket_966_TestCase()); 
    7474$tickets->addTestCase(new Doctrine_Ticket_969_TestCase()); 
     75$tickets->addTestCase(new Doctrine_Ticket_973_TestCase()); 
    7576$tickets->addTestCase(new Doctrine_Ticket_982_TestCase()); 
    7677$tickets->addTestCase(new Doctrine_Ticket_987_TestCase()); 
  • branches/1.0/tests/Ticket/894TestCase.php

    r4354 r4797  
    3535    public function prepareTables() { 
    3636      $this->tables = array(); 
    37       $this->tables[] = 'T894_Day';       
     37      $this->tables[] = 'T894_Day'; 
    3838      parent::prepareTables(); 
    3939    } 
    40      
     40 
     41 
    4142    public function prepareData() {} 
     43 
    4244 
    4345    public function testTicket() 
     
    5355} 
    5456 
     57 
    5558class T894_Day extends Doctrine_Record 
    5659{ 
    57   public function setTableDefinition() 
    58   { 
    59     $this->setTableName('t894_days'); 
    60     $this->hasColumn('id', 'integer', 3, array('autoincrement' => true, 'unsigned' => true, 'primary' => true, 'notnull' => true)); 
    61     $this->hasColumn('number', 'integer'); 
    62   } 
     60    public function setTableDefinition() 
     61    { 
     62        $this->setTableName('t894_days'); 
     63        $this->hasColumn('id', 'integer', 3, array('autoincrement' => true, 'unsigned' => true, 'primary' => true, 'notnull' => true)); 
     64        $this->hasColumn('number', 'integer'); 
     65    } 
    6366}