Changeset 4313
- Timestamp:
- 04/30/08 18:14:41 (14 months ago)
- Files:
-
- 1 modified
-
branches/0.11/tests/Ticket/889TestCase.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/0.11/tests/Ticket/889TestCase.php
r4181 r4313 55 55 $this->fail(); 56 56 } 57 $this->assert True($rel instanceof Doctrine_Relation_ForeignKey);57 $this->assertEqual(get_class($rel), 'Doctrine_Relation_Nest'); 58 58 59 59 $this->assertTrue($component->Children instanceof Doctrine_Collection); … … 73 73 $this->fail(); 74 74 } 75 $this->assert True($rel instanceof Doctrine_Relation_ForeignKey);75 $this->assertEqual(get_class($rel), 'Doctrine_Relation_Nest'); 76 76 77 77 $this->assertTrue($component->Parents instanceof Doctrine_Collection); … … 190 190 ); 191 191 } 192 193 public function setUp() 194 { 195 $this->hasOne('Ticket_889 as Parent', array('local' => 'parent_id', 196 'foreign' => 'id', 197 'onDelete' => 'CASCADE')); 198 199 $this->hasOne('Ticket_889 as Child', array('local' => 'child_id', 200 'foreign' => 'id', 201 'onDelete' => 'CASCADE')); 202 } 192 203 }