No need for a factory; create a sqlite adapter directly
authorChuck Hagenbuch <chuck@horde.org>
Thu, 14 Jan 2010 22:36:21 +0000 (17:36 -0500)
committerChuck Hagenbuch <chuck@horde.org>
Thu, 14 Jan 2010 22:36:21 +0000 (17:36 -0500)
content/test/Tags/TaggerTest.php

index 05bf174..fc289a0 100644 (file)
@@ -18,8 +18,7 @@ class Content_Tags_TaggerTest extends PHPUnit_Framework_TestCase
 {
     protected function setUp()
     {
-        $this->db = Horde_Db_Adapter::factory(array(
-            'adapter' => 'pdo_sqlite',
+        $this->db = new Horde_Db_Adapter_Pdo_Sqlite(array(
             'dbname' => ':memory:',
         ));