From 9a5caffee4686ed46dba347e70e94e331e40b0a0 Mon Sep 17 00:00:00 2001 From: c9s Date: Sun, 19 Jun 2016 19:42:33 +0800 Subject: [PATCH] Fix migration test --- tests/apps/AuthorBooks/Tests/AuthorModelTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/apps/AuthorBooks/Tests/AuthorModelTest.php b/tests/apps/AuthorBooks/Tests/AuthorModelTest.php index a836f597a..00781cf61 100644 --- a/tests/apps/AuthorBooks/Tests/AuthorModelTest.php +++ b/tests/apps/AuthorBooks/Tests/AuthorModelTest.php @@ -362,7 +362,7 @@ public function testMigrationRename() return $this->markTestSkipped('skip this test when sqlite driver is used.'); } - $migration = new Migration($this->queryDriver, $this->conn); + $migration = new Migration($this->conn, $this->queryDriver); $author = new Author; $schema = $author->getDeclareSchema(); $column = $schema->getColumn('name');