Skip to content
Permalink
Browse files

more tinyint smallint tests in MySQL

  • Loading branch information...
sebastienbarre committed Mar 6, 2017
1 parent 4fc8f7d commit 58078e77e1e7a2fa63d222cbeb686ee4e1aeda2d
Showing with 20 additions and 0 deletions.
  1. +20 −0 lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php
@@ -3376,6 +3376,26 @@ public function buildColumnUnsignedProvider() {
'default' => 1
),
'`testName` decimal UNSIGNED DEFAULT 1'
),
//set #9
array(
array(
'name' => 'testName',
'type' => 'smallint',
'length' => 6,
'unsigned' => true
),
'`testName` smallint(6) UNSIGNED'
),
//set #10
array(
array(
'name' => 'testName',
'type' => 'tinyint',
'length' => 4,
'unsigned' => true
),
'`testName` tinyint(4) UNSIGNED'
)
);
}

0 comments on commit 58078e7

Please sign in to comment.
You can’t perform that action at this time.