Commit 8f2a2a1f authored by andig's avatar andig Committed by Steve Müller

Clean invalid primary option

parent 59656833
......@@ -339,7 +339,7 @@ abstract class AbstractMySQLPlatformTestCase extends AbstractPlatformTestCase
public function testAlterPrimaryKeyWithAutoincrementColumn()
{
$table = new Table("drop_primary_key");
$table->addColumn('id', 'integer', array('primary' => true, 'autoincrement' => true));
$table->addColumn('id', 'integer', array('autoincrement' => true));
$table->addColumn('foo', 'integer');
$table->setPrimaryKey(array('id'));
......@@ -365,8 +365,8 @@ abstract class AbstractMySQLPlatformTestCase extends AbstractPlatformTestCase
public function testDropPrimaryKeyWithAutoincrementColumn()
{
$table = new Table("drop_primary_key");
$table->addColumn('id', 'integer', array('primary' => true, 'autoincrement' => true));
$table->addColumn('foo', 'integer', array('primary' => true));
$table->addColumn('id', 'integer', array('autoincrement' => true));
$table->addColumn('foo', 'integer');
$table->addColumn('bar', 'integer');
$table->setPrimaryKey(array('id', 'foo'));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment