From 0e5776788580edc35e0a7e3b2c1d2f1d03f85e90 Mon Sep 17 00:00:00 2001 From: Jose Lorenzo Rodriguez Date: Thu, 9 Jul 2015 15:31:55 +0200 Subject: [PATCH] Fixed postgres tests --- tests/TestCase/Database/Schema/PostgresSchemaTest.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/TestCase/Database/Schema/PostgresSchemaTest.php b/tests/TestCase/Database/Schema/PostgresSchemaTest.php index 7441cd26495..d2f47c53aba 100644 --- a/tests/TestCase/Database/Schema/PostgresSchemaTest.php +++ b/tests/TestCase/Database/Schema/PostgresSchemaTest.php @@ -394,6 +394,7 @@ public function testDescribeTableWithDefaults() $expected = [ 'id' => [ 'type' => 'integer', + 'baseType' => null, 'null' => false, 'default' => null, 'length' => 10, @@ -404,6 +405,7 @@ public function testDescribeTableWithDefaults() ], 'name' => [ 'type' => 'string', + 'baseType' => null, 'null' => true, 'default' => 'bob', 'length' => 50, @@ -413,6 +415,7 @@ public function testDescribeTableWithDefaults() ], 'bio' => [ 'type' => 'date', + 'baseType' => null, 'null' => true, 'default' => null, 'length' => null, @@ -421,6 +424,7 @@ public function testDescribeTableWithDefaults() ], 'position' => [ 'type' => 'integer', + 'baseType' => null, 'null' => true, 'default' => '1', 'length' => 10, @@ -431,6 +435,7 @@ public function testDescribeTableWithDefaults() ], 'created' => [ 'type' => 'timestamp', + 'baseType' => null, 'null' => true, 'default' => null, 'length' => null,