From: Chuck Hagenbuch Date: Thu, 14 Jan 2010 22:36:21 +0000 (-0500) Subject: No need for a factory; create a sqlite adapter directly X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=5a5c9866d755a836fc8f25196a471922708f6027;p=horde.git No need for a factory; create a sqlite adapter directly --- 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:', ));