Updating path constant in CodeCoverageManager to better support

custom installs.
Fixes #1831
This commit is contained in:
mark_story 2011-07-19 20:34:44 -04:00
parent 3cf4dd8b6c
commit eefde54d56

View file

@ -532,7 +532,7 @@ class CodeCoverageManager {
$path = TESTS;
if (!$isApp) {
$path = ROOT . DS . 'cake' . DS . 'tests';
$path = CAKE_CORE_INCLUDE_PATH . DS . 'cake' . DS . 'tests';
}
if (!!$manager->pluginTest) {
$path = App::pluginPath($manager->pluginTest) . DS . 'tests';