Skip to content

Commit

Permalink
Adding a missing require to make tests run in cli.
Browse files Browse the repository at this point in the history
Adding test_suite suite to all tests as it now runs.
  • Loading branch information
markstory committed Sep 25, 2010
1 parent 460a8bc commit 12d0bdd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cake/tests/cases/libs/all_tests.test.php
Expand Up @@ -49,7 +49,7 @@ public static function suite() {
//$suite->addTestFile($path . 'all_model.test.php');
$suite->addTestFile($path . 'all_routing.test.php');
$suite->addTestFile($path . 'all_socket.test.php');
//$suite->addTestFile($path . 'all_test_suite.test.php');;
$suite->addTestFile($path . 'all_test_suite.test.php');;
$suite->addTestFile($path . 'all_views.test.php');
$suite->addTestFile($path . 'all_xml.test.php');
return $suite;
Expand Down
1 change: 1 addition & 0 deletions cake/tests/cases/libs/cake_test_case.test.php
Expand Up @@ -20,6 +20,7 @@
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/
App::import('Controller', 'Controller', false);
require_once TEST_CAKE_CORE_INCLUDE_PATH . 'tests' . DS . 'lib' . DS . 'reporter' . DS . 'cake_html_reporter.php';

if (!class_exists('AppController')) {
require_once LIBS . 'controller' . DS . 'app_controller.php';
Expand Down

0 comments on commit 12d0bdd

Please sign in to comment.