From fd212e9e08984c373a002a44e9f8fbcad5677dea Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Tue, 30 Nov 2010 15:41:48 +0100 Subject: [PATCH] Fix paths. --- framework/Db/test/Horde/Db/Adapter/MysqlSuite.php | 2 +- framework/Db/test/Horde/Db/Adapter/MysqliSuite.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/Db/test/Horde/Db/Adapter/MysqlSuite.php b/framework/Db/test/Horde/Db/Adapter/MysqlSuite.php index 8c6149676..192ed6467 100644 --- a/framework/Db/test/Horde/Db/Adapter/MysqlSuite.php +++ b/framework/Db/test/Horde/Db/Adapter/MysqlSuite.php @@ -66,7 +66,7 @@ class Horde_Db_Adapter_MysqlSuite extends PHPUnit_Framework_TestSuite $config = array_merge(array('host' => 'localhost', 'username' => '', 'password' => '', 'dbname' => 'test'), json_decode($config, true)); } else { if (!$config) { - $config = dirname(__FILE__) . '/../conf.php'; + $config = dirname(__FILE__) . '/conf.php'; } if (file_exists($config)) { require $config; diff --git a/framework/Db/test/Horde/Db/Adapter/MysqliSuite.php b/framework/Db/test/Horde/Db/Adapter/MysqliSuite.php index 28e499ef9..26b5fce8d 100644 --- a/framework/Db/test/Horde/Db/Adapter/MysqliSuite.php +++ b/framework/Db/test/Horde/Db/Adapter/MysqliSuite.php @@ -64,7 +64,7 @@ class Horde_Db_Adapter_MysqliSuite extends PHPUnit_Framework_TestSuite $config = array_merge(array('host' => 'localhost', 'username' => '', 'password' => '', 'dbname' => 'test'), json_decode($config, true)); } else { if (!$config) { - $config = dirname(__FILE__) . '/../conf.php'; + $config = dirname(__FILE__) . '/conf.php'; } if (file_exists($config)) { require $config; -- 2.11.0