Fix paths.
authorJan Schneider <jan@horde.org>
Tue, 30 Nov 2010 14:41:48 +0000 (15:41 +0100)
committerJan Schneider <jan@horde.org>
Tue, 30 Nov 2010 14:41:48 +0000 (15:41 +0100)
framework/Db/test/Horde/Db/Adapter/MysqlSuite.php
framework/Db/test/Horde/Db/Adapter/MysqliSuite.php

index 8c61496..192ed64 100644 (file)
@@ -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;
index 28e499e..26b5fce 100644 (file)
@@ -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;