Permalink
Browse files

Fixing var name when not have SimpleTest or XDebug installed.

Signed-off-by: Mark Story <mark@mark-story.com>
  • Loading branch information...
1 parent f93094b commit 1c542b6ea595956922d0ea9011b3a6300fc5e7d5 @jrbasso jrbasso committed with markstory Jan 13, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 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();
}

0 comments on commit 1c542b6

Please sign in to comment.