Skip to content

Commit

Permalink
Correcting use of CONSOLE_LIBS to refer to template files
Browse files Browse the repository at this point in the history
  • Loading branch information
AD7six committed Jul 29, 2009
1 parent d54369e commit bbc2562
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cake/tests/cases/console/libs/tasks/template.test.php
Expand Up @@ -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);

Expand Down
2 changes: 1 addition & 1 deletion cake/tests/lib/test_manager.php
Expand Up @@ -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 {

Expand Down

0 comments on commit bbc2562

Please sign in to comment.