From: Chuck Hagenbuch Date: Thu, 14 Jan 2010 22:24:33 +0000 (-0500) Subject: Missed two removals of Horde_Db_Factory X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=36124ab25869ed59a5283565d675674dc78f6d87;p=horde.git Missed two removals of Horde_Db_Factory --- diff --git a/framework/Db/test/Horde/Db/Migration/BaseTest.php b/framework/Db/test/Horde/Db/Migration/BaseTest.php index 4597af00e..4146e75b2 100644 --- a/framework/Db/test/Horde/Db/Migration/BaseTest.php +++ b/framework/Db/test/Horde/Db/Migration/BaseTest.php @@ -83,8 +83,7 @@ class Horde_Db_Migration_BaseTest extends PHPUnit_Framework_TestCase public function setUp() { - $this->_conn = Horde_Db_Adapter::factory(array( - 'adapter' => 'pdo_sqlite', + $this->_conn = new Horde_Db_Adapter_Pdo_Sqlite(array( 'dbname' => ':memory:', )); } diff --git a/framework/Db/test/Horde/Db/Migration/MigratorTest.php b/framework/Db/test/Horde/Db/Migration/MigratorTest.php index e3cd1c082..22cfa94ce 100644 --- a/framework/Db/test/Horde/Db/Migration/MigratorTest.php +++ b/framework/Db/test/Horde/Db/Migration/MigratorTest.php @@ -28,8 +28,7 @@ class Horde_Db_Migration_MigratorTest extends PHPUnit_Framework_TestCase { $this->_logger = new Horde_Log_Logger(new Horde_Log_Handler_Null()); - $this->_conn = Horde_Db_Adapter::factory(array( - 'adapter' => 'pdo_sqlite', + $this->_conn = new Horde_Db_Adapter_Pdo_Sqlite(array( 'dbname' => ':memory:', ));