Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixing broken tests.

  • Loading branch information...
commit e733c569bebd4b267d47cd524888560992c01f5a 1 parent 0029a27
@markstory markstory authored
View
2  cake/libs/model/cake_schema.php
@@ -409,7 +409,7 @@ function generateTable($table, $fields) {
}
$col .= join(', ', $props);
} elseif ($field == 'tableParameters') {
-
+ $col = "\t\t'tableParameters' => array(";
}
$col .= ")";
$cols[] = $col;
View
5 cake/tests/cases/libs/model/cake_schema.test.php
@@ -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
*
Please sign in to comment.
Something went wrong with that request. Please try again.