Permalink
Browse files

Fixing broken tests.

  • Loading branch information...
1 parent 0029a27 commit e733c569bebd4b267d47cd524888560992c01f5a @markstory markstory committed Oct 3, 2009
Showing with 2 additions and 5 deletions.
  1. +1 −1 cake/libs/model/cake_schema.php
  2. +1 −4 cake/tests/cases/libs/model/cake_schema.test.php
@@ -409,7 +409,7 @@ function generateTable($table, $fields) {
}
$col .= join(', ', $props);
} elseif ($field == 'tableParameters') {
-
+ $col = "\t\t'tableParameters' => array(";
}
$col .= ")";
$cols[] = $col;
@@ -484,9 +484,7 @@ function XXtestSchemaReadWithPlugins() {
App::build();
}
-function getTests() {
- return array('start', 'startCase', 'testGenerateTable', 'endCase', 'end');
-}
+
/**
* test that tables are generated correctly
*
@@ -509,7 +507,6 @@ function testGenerateTable() {
eval(substr($result, 4));
$this->assertEqual($posts, $fields);
}
-
/**
* testSchemaWrite method
*

0 comments on commit e733c56

Please sign in to comment.