Adding a missing require to make tests run in cli.

Adding test_suite suite to all tests as it now runs.
This commit is contained in:
mark_story 2010-09-20 00:16:35 -04:00
parent 460a8bc4f6
commit 12d0bdd2ee
2 changed files with 2 additions and 1 deletions

View file

@ -49,7 +49,7 @@ class AllTests extends PHPUnit_Framework_TestSuite {
//$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;

View file

@ -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';