Commit fd1fb574 authored by jwage's avatar jwage

Fixed issue with autoloading of models.

parent 48c67aba
...@@ -67,11 +67,6 @@ class Doctrine_OrmTestCase extends Doctrine_TestCase ...@@ -67,11 +67,6 @@ class Doctrine_OrmTestCase extends Doctrine_TestCase
. '.php'; . '.php';
require $fixtureFile; require $fixtureFile;
self::$_fixtures[$uniqueName] = $fixture; self::$_fixtures[$uniqueName] = $fixture;
// load model file
$modelFile = 'models' . DIRECTORY_SEPARATOR . $package . DIRECTORY_SEPARATOR .
$fixture['model'] . '.php';
require $modelFile;
} }
$fixture = self::$_fixtures[$uniqueName]; $fixture = self::$_fixtures[$uniqueName];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment