Skip to content
Permalink
Browse files

Update AllDatabase Suite

Run all the tests for the new db api.
  • Loading branch information...
markstory committed Mar 7, 2013
1 parent d6a024b commit 30915b635080c48f7fd10ddae921fc816bc8cbc1
Showing with 3 additions and 10 deletions.
  1. +3 −10 lib/Cake/Test/TestCase/AllDatabaseTest.php
@@ -34,17 +34,10 @@ class AllDatabaseTest extends \PHPUnit_Framework_TestSuite {
* @return void
*/
public static function suite() {
$suite = new \PHPUnit_Framework_TestSuite('Connection, Datasources and Query builder');
$path = CORE_TEST_CASES . DS . 'Model/Datasource/Database';
$path = CORE_TEST_CASES . DS . 'Model/';
$tasks = array(
'Datasource/Database/Connection',
'Datasource/Database/Query',
'Datasource/Database/Type'
);
foreach ($tasks as $task) {
$suite->addTestFile($path . $task . 'Test.php');
}
$suite = new TestSuite('Connection, Datasources and Query builder');
$suite->addTestDirectoryRecursive($path);
return $suite;
}
}

0 comments on commit 30915b6

Please sign in to comment.
You can’t perform that action at this time.