mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 11:06:15 +00:00
fix broken test
This commit is contained in:
parent
0286e4120d
commit
20dc92291e
1 changed files with 2 additions and 3 deletions
|
@ -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',
|
||||||
|
|
Loading…
Add table
Reference in a new issue