Fixing broken tests.

This commit is contained in:
mark_story 2009-10-03 12:44:49 -04:00
parent 0029a275bd
commit e733c569be
2 changed files with 2 additions and 5 deletions

View file

@ -409,7 +409,7 @@ class CakeSchema extends Object {
} }
$col .= join(', ', $props); $col .= join(', ', $props);
} elseif ($field == 'tableParameters') { } elseif ($field == 'tableParameters') {
$col = "\t\t'tableParameters' => array(";
} }
$col .= ")"; $col .= ")";
$cols[] = $col; $cols[] = $col;

View file

@ -484,9 +484,7 @@ class CakeSchemaTest extends CakeTestCase {
App::build(); App::build();
} }
function getTests() {
return array('start', 'startCase', 'testGenerateTable', 'endCase', 'end');
}
/** /**
* test that tables are generated correctly * test that tables are generated correctly
* *
@ -509,7 +507,6 @@ function getTests() {
eval(substr($result, 4)); eval(substr($result, 4));
$this->assertEqual($posts, $fields); $this->assertEqual($posts, $fields);
} }
/** /**
* testSchemaWrite method * testSchemaWrite method
* *