diff --git a/tests/integration/Db/Dialect/Mysql/AddColumnCest.php b/tests/integration/Db/Dialect/Mysql/AddColumnCest.php index c070126050b..88c0ec3aebd 100644 --- a/tests/integration/Db/Dialect/Mysql/AddColumnCest.php +++ b/tests/integration/Db/Dialect/Mysql/AddColumnCest.php @@ -41,7 +41,8 @@ public function dbAdapterPdoMysqlAddColumn(IntegrationTester $I) $mysql = new Mysql(); $sql = $mysql->addColumn('test', '', $column); - $expected = 'ALTER TABLE `test` ADD `updated_at` TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP NULL AFTER `created_at`'; + $expected = 'ALTER TABLE `test` ADD `updated_at` TIMESTAMP ' . + 'DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP NULL AFTER `created_at`'; $I->assertSame($expected, $sql); } diff --git a/tests/integration/Db/Dialect/Mysql/ModifyColumnCest.php b/tests/integration/Db/Dialect/Mysql/ModifyColumnCest.php index 59479571171..2a27a7fb6da 100644 --- a/tests/integration/Db/Dialect/Mysql/ModifyColumnCest.php +++ b/tests/integration/Db/Dialect/Mysql/ModifyColumnCest.php @@ -51,7 +51,8 @@ public function dbAdapterPdoMysqlModifyColumn(IntegrationTester $I) $mysql = new Mysql(); $sql = $mysql->modifyColumn('test', '', $column, $currentColumn); - $expected = 'ALTER TABLE `test` MODIFY `updated_at` TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP NULL AFTER `created_at`'; + $expected = 'ALTER TABLE `test` MODIFY `updated_at` TIMESTAMP ' . + 'DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP NULL AFTER `created_at`'; $I->assertSame($expected, $sql); }