diff --git a/tests/mysql/MigrationsCest.php b/tests/mysql/MigrationsCest.php index ed6317f..0d287e4 100644 --- a/tests/mysql/MigrationsCest.php +++ b/tests/mysql/MigrationsCest.php @@ -274,7 +274,7 @@ public function generateWithAutoIncrement(MysqlTester $I): void $I->assertEquals(4, $autoIncrement); $I->assertContains( - "'auto_increment' => '4'", + "'AUTO_INCREMENT' => '4'", file_get_contents($migrationsDir . '/1.0.0/' . $tableName . '.php') ); } @@ -323,7 +323,7 @@ public function generateWithoutAutoIncrement(MysqlTester $I): void $I->assertEquals(4, $autoIncrement); $I->assertContains( - "'auto_increment' => ''", + "'AUTO_INCREMENT' => ''", file_get_contents($migrationsDir . '/1.0.0/' . $tableName . '.php') ); }