1
0
mirror of synced 2025-01-17 22:11:41 +03:00

formatting fix

This commit is contained in:
zYne 2007-09-01 10:55:14 +00:00
parent edb1b251d6
commit 951b2875d8

View File

@ -72,12 +72,13 @@ class Doctrine_ColumnAggregationInheritance_TestCase extends Doctrine_UnitTestCa
$this->assertEqual($q->getSql(), "SELECT i.id AS i__id, i.name AS i__name, i.type AS i__type FROM inheritance_test i WHERE (i.type = 'type 1')"); $this->assertEqual($q->getSql(), "SELECT i.id AS i__id, i.name AS i__name, i.type AS i__type FROM inheritance_test i WHERE (i.type = 'type 1')");
} }
public function testSubclassFieldSetWhenCreatingNewSubclassedRecord() public function testSubclassFieldSetWhenCreatingNewSubclassedRecord()
{ {
$child = new InheritanceChildTest(); $child = new InheritanceChildTest();
$this->assertTrue(isset($child->type)); $this->assertTrue(isset($child->type));
$this->assertEqual("type 1", $child->type);
} $this->assertEqual('type 1', $child->type);
}
} }
class InheritanceTest extends Doctrine_Record class InheritanceTest extends Doctrine_Record
{ {