Skip to content

Commit

Permalink
Updating path constant in CodeCoverageManager to better support
Browse files Browse the repository at this point in the history
custom installs.
Fixes #1831
  • Loading branch information
markstory committed Jul 20, 2011
1 parent 3cf4dd8 commit eefde54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cake/tests/lib/code_coverage_manager.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ function __testObjectFilesFromGroupFile($groupFile, $isApp = true) {


$path = TESTS; $path = TESTS;
if (!$isApp) { if (!$isApp) {
$path = ROOT . DS . 'cake' . DS . 'tests'; $path = CAKE_CORE_INCLUDE_PATH . DS . 'cake' . DS . 'tests';
} }
if (!!$manager->pluginTest) { if (!!$manager->pluginTest) {
$path = App::pluginPath($manager->pluginTest) . DS . 'tests'; $path = App::pluginPath($manager->pluginTest) . DS . 'tests';
Expand Down

0 comments on commit eefde54

Please sign in to comment.