Skip to content

Commit

Permalink
Update SqlserverSchemaTest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
ajquick committed Jan 17, 2017
1 parent aaab094 commit 68df80b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/TestCase/Database/Schema/SqlserverSchemaTest.php
Expand Up @@ -499,7 +499,7 @@ public static function columnSqlProvider()
[
'title',
['type' => 'string', 'length' => 25, 'null' => true, 'default' => 'ignored'],
"[title] NVARCHAR(25) NULL DEFAULT 'ignored'"
"[title] NVARCHAR(25) DEFAULT 'ignored'"
],
[
'id',
Expand Down Expand Up @@ -641,12 +641,12 @@ public static function columnSqlProvider()
[
'null_date',
['type' => 'datetime', 'null' => true, 'default' => 'current_timestamp'],
'[null_date] DATETIME NULL DEFAULT CURRENT_TIMESTAMP'
'[null_date] DATETIME DEFAULT CURRENT_TIMESTAMP'
],
[
'null_date',
['type' => 'datetime', 'null' => true],
'[null_date] DATETIME NULL DEFAULT NULL'
'[null_date] DATETIME DEFAULT NULL'
],
// Date & Time
[
Expand All @@ -663,7 +663,7 @@ public static function columnSqlProvider()
[
'created',
['type' => 'timestamp', 'null' => true],
'[created] DATETIME NULL DEFAULT NULL'
'[created] DATETIME DEFAULT NULL'
],
];
}
Expand Down

0 comments on commit 68df80b

Please sign in to comment.