diff --git a/tests/Doctrine/Tests/TestInit.php b/tests/Doctrine/Tests/TestInit.php index 5af6d8f75..628908313 100644 --- a/tests/Doctrine/Tests/TestInit.php +++ b/tests/Doctrine/Tests/TestInit.php @@ -10,13 +10,8 @@ require_once '../lib/Doctrine/Common/ClassLoader.php'; $classLoader = new \Doctrine\Common\ClassLoader(); -$modelDir = __DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'models'; set_include_path( get_include_path() . PATH_SEPARATOR . __DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'lib' - . PATH_SEPARATOR . $modelDir . DIRECTORY_SEPARATOR . 'cms' - . PATH_SEPARATOR . $modelDir . DIRECTORY_SEPARATOR . 'company' - . PATH_SEPARATOR . $modelDir . DIRECTORY_SEPARATOR . 'ecommerce' - . PATH_SEPARATOR . $modelDir . DIRECTORY_SEPARATOR . 'forum' );