mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Fixing broken tests.
This commit is contained in:
parent
0029a275bd
commit
e733c569be
2 changed files with 2 additions and 5 deletions
|
@ -409,7 +409,7 @@ class CakeSchema extends Object {
|
|||
}
|
||||
$col .= join(', ', $props);
|
||||
} elseif ($field == 'tableParameters') {
|
||||
|
||||
$col = "\t\t'tableParameters' => array(";
|
||||
}
|
||||
$col .= ")";
|
||||
$cols[] = $col;
|
||||
|
|
|
@ -484,9 +484,7 @@ class CakeSchemaTest extends CakeTestCase {
|
|||
|
||||
App::build();
|
||||
}
|
||||
function getTests() {
|
||||
return array('start', 'startCase', 'testGenerateTable', 'endCase', 'end');
|
||||
}
|
||||
|
||||
/**
|
||||
* test that tables are generated correctly
|
||||
*
|
||||
|
@ -509,7 +507,6 @@ function getTests() {
|
|||
eval(substr($result, 4));
|
||||
$this->assertEqual($posts, $fields);
|
||||
}
|
||||
|
||||
/**
|
||||
* testSchemaWrite method
|
||||
*
|
||||
|
|
Loading…
Add table
Reference in a new issue