Skip to content

Commit

Permalink
Update PostgresSchemaTest.php
Browse files Browse the repository at this point in the history
Revert changes, add tests.
  • Loading branch information
ajquick committed Jan 17, 2017
1 parent 05f7113 commit 8c0a48b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/TestCase/Database/Schema/PostgresSchemaTest.php
Expand Up @@ -652,7 +652,7 @@ public static function columnSqlProvider()
[
'title',
['type' => 'string', 'length' => 25, 'null' => true, 'default' => 'ignored'],
'"title" VARCHAR(25) NULL DEFAULT \'ignored\'',
'"title" VARCHAR(25) DEFAULT \'ignored\'',
],
[
'id',
Expand Down Expand Up @@ -795,7 +795,7 @@ public static function columnSqlProvider()
[
'null_date',
['type' => 'datetime', 'null' => true],
'"null_date" TIMESTAMP NULL DEFAULT NULL'
'"null_date" TIMESTAMP DEFAULT NULL'
],
[
'current_timestamp',
Expand All @@ -817,7 +817,7 @@ public static function columnSqlProvider()
[
'created',
['type' => 'timestamp', 'null' => true],
'"created" TIMESTAMP NULL DEFAULT NULL'
'"created" TIMESTAMP DEFAULT NULL'
],
];
}
Expand Down

0 comments on commit 8c0a48b

Please sign in to comment.