Fix annoying Db build error
authorMichael M Slusarz <slusarz@curecanti.org>
Wed, 12 Jan 2011 17:19:14 +0000 (10:19 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Wed, 12 Jan 2011 17:19:40 +0000 (10:19 -0700)
framework/Db/test/Horde/Db/Adapter/Pdo/SqliteTest.php

index cc7aee1..598f2c0 100644 (file)
@@ -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());