One-Table-One-Class inheritance fix
This commit is contained in:
parent
ff0aad6ba0
commit
842fee428e
@ -143,9 +143,11 @@ class Doctrine_Table extends Doctrine_Configurable {
|
||||
$record->setTableDefinition();
|
||||
|
||||
if(isset($this->columns)) {
|
||||
$method = new ReflectionMethod($name,"setTableDefinition");
|
||||
$method = new ReflectionMethod($this->name,"setTableDefinition");
|
||||
$class = $method->getDeclaringClass();
|
||||
|
||||
print $class->getName();
|
||||
|
||||
if( ! isset($this->tableName))
|
||||
$this->tableName = strtolower($class->getName());
|
||||
|
||||
|
@ -23,7 +23,7 @@ $test = new GroupTest("Doctrine Framework Unit Tests");
|
||||
|
||||
|
||||
|
||||
/**
|
||||
|
||||
$test->addTestCase(new Doctrine_RecordTestCase());
|
||||
|
||||
$test->addTestCase(new Doctrine_SessionTestCase());
|
||||
@ -36,10 +36,10 @@ $test->addTestCase(new Doctrine_AccessTestCase());
|
||||
$test->addTestCase(new Doctrine_ConfigurableTestCase());
|
||||
|
||||
$test->addTestCase(new Doctrine_EventListenerTestCase());
|
||||
*/
|
||||
|
||||
$test->addTestCase(new Doctrine_DQL_ParserTestCase());
|
||||
|
||||
//$test->addTestCase(new Doctrine_BatchIteratorTestCase());
|
||||
$test->addTestCase(new Doctrine_BatchIteratorTestCase());
|
||||
|
||||
//$test->addTestCase(new Doctrine_Cache_FileTestCase());
|
||||
//$test->addTestCase(new Doctrine_Cache_SqliteTestCase());
|
||||
|
Loading…
Reference in New Issue
Block a user