From: Michael M Slusarz Date: Wed, 12 Jan 2011 17:19:14 +0000 (-0700) Subject: Fix annoying Db build error X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=8344a4327bf75f80c9b3851472f22adf92ebe453;p=horde.git Fix annoying Db build error --- diff --git a/framework/Db/test/Horde/Db/Adapter/Pdo/SqliteTest.php b/framework/Db/test/Horde/Db/Adapter/Pdo/SqliteTest.php index cc7aee1d8..598f2c024 100644 --- a/framework/Db/test/Horde/Db/Adapter/Pdo/SqliteTest.php +++ b/framework/Db/test/Horde/Db/Adapter/Pdo/SqliteTest.php @@ -445,7 +445,7 @@ class Horde_Db_Adapter_Pdo_SqliteTest extends PHPUnit_Framework_TestCase $table = $this->_conn->createTable('testings', array('primaryKey' => false)); $table->column('foo', 'integer', array('null' => false, 'autoincrement' => true)); $table->column('bar', 'string'); - $table->primaryKey(array('foo')); + $table->primaryKey('foo'); $pkColumn = $table['foo']; $this->assertEquals('"foo" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL', $pkColumn->toSql());