diff --git a/cake/tests/lib/cake_test_suite_dispatcher.php b/cake/tests/lib/cake_test_suite_dispatcher.php index 67fcb1541a1..59427183df3 100644 --- a/cake/tests/lib/cake_test_suite_dispatcher.php +++ b/cake/tests/lib/cake_test_suite_dispatcher.php @@ -102,7 +102,6 @@ function dispatch() { $this->_groupTestList(); } - CakeTestMenu::footer(); $output = ob_get_clean(); echo $output; } @@ -114,7 +113,7 @@ function dispatch() { */ function _checkSimpleTest() { if (!App::import('Vendor', 'simpletest' . DS . 'reporter')) { - $baseUrl = $this->_baseDir; + $basePath = $this->_baseDir; include CAKE_TESTS_LIB . 'templates' . DS . 'simpletest.php'; exit(); } @@ -128,7 +127,7 @@ function _checkSimpleTest() { */ function _checkXdebug() { if (!extension_loaded('xdebug')) { - $baseUrl = $this->_baseDir; + $basePath = $this->_baseDir; include CAKE_TESTS_LIB . 'templates' . DS . 'xdebug.php'; exit(); } @@ -214,6 +213,8 @@ function _parseParams() { require_once CAKE_TESTS_LIB . 'code_coverage_manager.php'; $this->_checkXdebug(); } + $this->params['baseUrl'] = $this->_baseUrl; + $this->params['baseDir'] = $this->_baseDir; $this->getManager(); } diff --git a/cake/tests/lib/reporter/cake_html_reporter.php b/cake/tests/lib/reporter/cake_html_reporter.php index a24fb85aa31..73d43a318c1 100644 --- a/cake/tests/lib/reporter/cake_html_reporter.php +++ b/cake/tests/lib/reporter/cake_html_reporter.php @@ -155,6 +155,8 @@ function paintFooter($test_name) { } echo $this->_paintLinks(); echo ''; + $baseDir = $this->params['baseDir']; + include CAKE_TESTS_LIB . 'templates' . DS . 'footer.php'; } /** diff --git a/cake/tests/lib/templates/footer.php b/cake/tests/lib/templates/footer.php index fb5b8ae79fa..eb970a657b1 100644 --- a/cake/tests/lib/templates/footer.php +++ b/cake/tests/lib/templates/footer.php @@ -22,7 +22,7 @@