Skip to content
Permalink
Browse files

Correcting use of CONSOLE_LIBS to refer to template files

  • Loading branch information...
AD7six
AD7six committed Jul 29, 2009
1 parent d54369e commit bbc2562d3fd865788e28598e7caad44b0c10989b
Showing with 2 additions and 2 deletions.
  1. +1 −1 cake/tests/cases/console/libs/tasks/template.test.php
  2. +1 −1 cake/tests/lib/test_manager.php
@@ -113,7 +113,7 @@ function testFindingInstalledThemesForBake() {
* @return void
**/
function testGetThemePath() {
$defaultTheme = CAKE_CORE_INCLUDE_PATH . DS . CONSOLE_LIBS . 'templates' . DS . 'default' .DS;
$defaultTheme = CAKE_CORE_INCLUDE_PATH . DS . dirname(CONSOLE_LIBS) . 'templates' . DS . 'default' .DS;
$this->Task->templatePaths = array('default' => $defaultTheme);
$this->Task->expectCallCount('in', 1);
@@ -620,7 +620,7 @@ function &getTestCaseList() {
}
if (function_exists('caketestsgetreporter')) {
echo "You need a new test.php. \n";
echo "Try this one: " . CONSOLE_LIBS . "templates" . DS . "skel" . DS . "webroot" . DS . "test.php";
echo "Try this one: " . dirname(CONSOLE_LIBS) . "templates" . DS . "skel" . DS . "webroot" . DS . "test.php";
exit();
} else {

0 comments on commit bbc2562

Please sign in to comment.
You can’t perform that action at this time.