summaryrefslogtreecommitdiffstats
path: root/tests/lib/DB/MDB2SchemaReaderTest.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-03-23 23:45:43 -0600
committerGitHub <noreply@github.com>2017-03-23 23:45:43 -0600
commit1397b84777b0507e2b2f9dcaebe2ca48698ebe74 (patch)
tree030970c8efb64bdd81d7da822e88012589a2c477 /tests/lib/DB/MDB2SchemaReaderTest.php
parentd197f609a896e6133797824fe700d9f92b2d1df8 (diff)
parent8a4466f9ae916b59a13c93ccabd2d01742e9597f (diff)
downloadnextcloud-server-1397b84777b0507e2b2f9dcaebe2ca48698ebe74.tar.gz
nextcloud-server-1397b84777b0507e2b2f9dcaebe2ca48698ebe74.zip
Merge pull request #3928 from nextcloud/downstream-17978
Adjust 4 byte MySQL code to upstream
Diffstat (limited to 'tests/lib/DB/MDB2SchemaReaderTest.php')
-rw-r--r--tests/lib/DB/MDB2SchemaReaderTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/DB/MDB2SchemaReaderTest.php b/tests/lib/DB/MDB2SchemaReaderTest.php
index dcec6ae593e..3daf0dd7589 100644
--- a/tests/lib/DB/MDB2SchemaReaderTest.php
+++ b/tests/lib/DB/MDB2SchemaReaderTest.php
@@ -47,7 +47,7 @@ class MDB2SchemaReaderTest extends TestCase {
public function testRead() {
$reader = new MDB2SchemaReader($this->getConfig(), new MySqlPlatform());
- $schema = $reader->loadSchemaFromFile(__DIR__ . '/testschema.xml');
+ $schema = $reader->loadSchemaFromFile(__DIR__ . '/testschema.xml', new Schema());
$this->assertCount(1, $schema->getTables());
$table = $schema->getTable('test_table');