From 36124ab25869ed59a5283565d675674dc78f6d87 Mon Sep 17 00:00:00 2001 From: Chuck Hagenbuch Date: Thu, 14 Jan 2010 17:24:33 -0500 Subject: [PATCH] Missed two removals of Horde_Db_Factory --- framework/Db/test/Horde/Db/Migration/BaseTest.php | 3 +-- framework/Db/test/Horde/Db/Migration/MigratorTest.php | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) 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:', )); -- 2.11.0