fix broken test

This commit is contained in:
imsamurai 2013-11-17 23:34:22 +02:00
parent 0286e4120d
commit 20dc92291e

View file

@ -2204,7 +2204,7 @@ class ModelIntegrationTest extends BaseModelTest {
} else { } else {
$intLength = 11; $intLength = 11;
} }
foreach (array('collate', 'charset', 'comment') as $type) { foreach (array('collate', 'charset', 'comment', 'unsigned') as $type) {
foreach ($result as $i => $r) { foreach ($result as $i => $r) {
unset($result[$i][$type]); unset($result[$i][$type]);
} }
@ -2216,8 +2216,7 @@ class ModelIntegrationTest extends BaseModelTest {
'null' => false, 'null' => false,
'default' => null, 'default' => null,
'length' => $intLength, 'length' => $intLength,
'key' => 'primary', 'key' => 'primary'
'unsigned' => false
), ),
'user' => array( 'user' => array(
'type' => 'string', 'type' => 'string',