Browse Source

Update PostgresSchemaTest.php

Fixed broken tests.
AJ Quick 9 years ago
parent
commit
a6565b5c56
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tests/TestCase/Database/Schema/PostgresSchemaTest.php

+ 2 - 2
tests/TestCase/Database/Schema/PostgresSchemaTest.php

@@ -652,7 +652,7 @@ SQL;
             [
                 'title',
                 ['type' => 'string', 'length' => 25, 'null' => true, 'default' => 'ignored'],
-                '"title" VARCHAR(25) DEFAULT \'ignored\'',
+                '"title" VARCHAR(25) NULL DEFAULT \'ignored\'',
             ],
             [
                 'id',
@@ -817,7 +817,7 @@ SQL;
             [
                 'created',
                 ['type' => 'timestamp', 'null' => true],
-                '"created" TIMESTAMP DEFAULT NULL'
+                '"created" TIMESTAMP NULL DEFAULT NULL'
             ],
         ];
     }