Skip to content

Commit

Permalink
#94 - Fix case of AUTO_INCREMENT option
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeckerson committed Aug 31, 2020
1 parent 0046c5b commit 63adc08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/mysql/MigrationsCest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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')
);
}
Expand Down Expand Up @@ -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')
);
}
Expand Down

0 comments on commit 63adc08

Please # to comment.