Missed two removals of Horde_Db_Factory
authorChuck Hagenbuch <chuck@horde.org>
Thu, 14 Jan 2010 22:24:33 +0000 (17:24 -0500)
committerChuck Hagenbuch <chuck@horde.org>
Thu, 14 Jan 2010 22:34:35 +0000 (17:34 -0500)
framework/Db/test/Horde/Db/Migration/BaseTest.php
framework/Db/test/Horde/Db/Migration/MigratorTest.php

index 4597af0..4146e75 100644 (file)
@@ -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:',
         ));
     }
index e3cd1c0..22cfa94 100644 (file)
@@ -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:',
         ));