From 5a5c9866d755a836fc8f25196a471922708f6027 Mon Sep 17 00:00:00 2001 From: Chuck Hagenbuch Date: Thu, 14 Jan 2010 17:36:21 -0500 Subject: [PATCH] No need for a factory; create a sqlite adapter directly --- content/test/Tags/TaggerTest.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/content/test/Tags/TaggerTest.php b/content/test/Tags/TaggerTest.php index 05bf1744f..fc289a004 100644 --- a/content/test/Tags/TaggerTest.php +++ b/content/test/Tags/TaggerTest.php @@ -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:', )); -- 2.11.0