formatting fix
This commit is contained in:
parent
edb1b251d6
commit
951b2875d8
@ -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
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user