mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 17:16:18 +00:00
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:
parent
460a8bc4f6
commit
12d0bdd2ee
2 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
|
@ -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';
|
||||
|
|
Loading…
Add table
Reference in a new issue