From e733c569bebd4b267d47cd524888560992c01f5a Mon Sep 17 00:00:00 2001 From: mark_story Date: Sat, 3 Oct 2009 12:44:49 -0400 Subject: [PATCH] Fixing broken tests. --- cake/libs/model/cake_schema.php | 2 +- cake/tests/cases/libs/model/cake_schema.test.php | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) 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 *