Changeset 4797
- Timestamp:
- 08/23/08 19:08:59 (5 months ago)
- Location:
- branches/1.0/tests
- Files:
-
- 2 modified
-
run.php (modified) (2 diffs)
-
Ticket/894TestCase.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.0/tests/run.php
r4796 r4797 47 47 $tickets->addTestCase(new Doctrine_Ticket_673_TestCase()); 48 48 $tickets->addTestCase(new Doctrine_Ticket_697_TestCase()); 49 //$tickets->addTestCase(new Doctrine_Ticket_710_TestCase()); // Only uncomment if you want to check free() performance! 49 50 $tickets->addTestCase(new Doctrine_Ticket_736_TestCase()); 50 51 $tickets->addTestCase(new Doctrine_Ticket_741_TestCase()); 51 52 $tickets->addTestCase(new Doctrine_Ticket_749_TestCase()); 52 53 $tickets->addTestCase(new Doctrine_Ticket_786_TestCase()); 53 //$tickets->addTestCase(new Doctrine_Ticket_710_TestCase()); // Only uncomment if you want to check free() performance!54 54 $tickets->addTestCase(new Doctrine_Ticket_832_TestCase()); 55 55 $tickets->addTestCase(new Doctrine_Ticket_838_TestCase()); … … 73 73 $tickets->addTestCase(new Doctrine_Ticket_966_TestCase()); 74 74 $tickets->addTestCase(new Doctrine_Ticket_969_TestCase()); 75 $tickets->addTestCase(new Doctrine_Ticket_973_TestCase()); 75 76 $tickets->addTestCase(new Doctrine_Ticket_982_TestCase()); 76 77 $tickets->addTestCase(new Doctrine_Ticket_987_TestCase()); -
branches/1.0/tests/Ticket/894TestCase.php
r4354 r4797 35 35 public function prepareTables() { 36 36 $this->tables = array(); 37 $this->tables[] = 'T894_Day'; 37 $this->tables[] = 'T894_Day'; 38 38 parent::prepareTables(); 39 39 } 40 40 41 41 42 public function prepareData() {} 43 42 44 43 45 public function testTicket() … … 53 55 } 54 56 57 55 58 class T894_Day extends Doctrine_Record 56 59 { 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 } 63 66 }