diff --git a/cake/libs/model/cake_schema.php b/cake/libs/model/cake_schema.php index 42d1dc71d..b5d851146 100644 --- a/cake/libs/model/cake_schema.php +++ b/cake/libs/model/cake_schema.php @@ -409,7 +409,7 @@ class CakeSchema extends Object { } $col .= join(', ', $props); } elseif ($field == 'tableParameters') { - + $col = "\t\t'tableParameters' => array("; } $col .= ")"; $cols[] = $col; diff --git a/cake/tests/cases/libs/model/cake_schema.test.php b/cake/tests/cases/libs/model/cake_schema.test.php index a7431d4af..3b0d835d2 100644 --- a/cake/tests/cases/libs/model/cake_schema.test.php +++ b/cake/tests/cases/libs/model/cake_schema.test.php @@ -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 *