Skip to content

Commit

Permalink
#14880 - Fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeckerson committed Feb 27, 2020
1 parent c70cf99 commit 4d0bf90
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion tests/integration/Db/Dialect/Mysql/AddColumnCest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
3 changes: 2 additions & 1 deletion tests/integration/Db/Dialect/Mysql/ModifyColumnCest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 4d0bf90

Please sign in to comment.