Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixing var name when not have SimpleTest or XDebug installed.

Signed-off-by: Mark Story <mark@mark-story.com>
  • Loading branch information...
commit 1c542b6ea595956922d0ea9011b3a6300fc5e7d5 1 parent f93094b
@jrbasso jrbasso authored markstory committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 cake/tests/lib/cake_test_suite_dispatcher.php
View
4 cake/tests/lib/cake_test_suite_dispatcher.php
@@ -109,7 +109,7 @@ function dispatch() {
*/
function _checkSimpleTest() {
if (!App::import('Vendor', 'simpletest' . DS . 'reporter')) {
- $basePath = $this->_baseDir;
+ $baseDir = $this->_baseDir;
include CAKE_TESTS_LIB . 'templates' . DS . 'simpletest.php';
exit();
}
@@ -123,7 +123,7 @@ function _checkSimpleTest() {
*/
function _checkXdebug() {
if (!extension_loaded('xdebug')) {
- $basePath = $this->_baseDir;
+ $baseDir = $this->_baseDir;
include CAKE_TESTS_LIB . 'templates' . DS . 'xdebug.php';
exit();
}
Please sign in to comment.
Something went wrong with that request. Please try again.