]> source.dussan.org Git - nextcloud-server.git/commitdiff
Increment number of columns by one
authorOliver Gasser <oliver@flowriver.net>
Tue, 17 Dec 2013 23:37:09 +0000 (00:37 +0100)
committerOliver Gasser <oliver@flowriver.net>
Tue, 17 Dec 2013 23:37:09 +0000 (00:37 +0100)
tests/lib/db/mdb2schemareader.php

index faa3b8d7da05040cc40b1b0befa373f9cd021793..f08996cbeafd7eaff64f01d78ba43b566288d4ac 100644 (file)
@@ -39,7 +39,7 @@ class MDB2SchemaReader extends \PHPUnit_Framework_TestCase {
                $this->assertCount(1, $schema->getTables());
 
                $table = $schema->getTable('test_table');
-               $this->assertCount(7, $table->getColumns());
+               $this->assertCount(8, $table->getColumns());
 
                $this->assertEquals(4, $table->getColumn('integerfield')->getLength());
                $this->assertTrue($table->getColumn('integerfield')->getAutoincrement());