From 8344a4327bf75f80c9b3851472f22adf92ebe453 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Wed, 12 Jan 2011 10:19:14 -0700 Subject: [PATCH] Fix annoying Db build error --- framework/Db/test/Horde/Db/Adapter/Pdo/SqliteTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); -- 2.11.0