diff --git a/test/ItopTestCase.php b/test/ItopTestCase.php index d4cc07121..d527471d3 100644 --- a/test/ItopTestCase.php +++ b/test/ItopTestCase.php @@ -37,15 +37,16 @@ class ItopTestCase extends TestCase protected function setUp() { @include_once '../approot.inc.php'; - @include_once '../../approot.inc.php'; + @include_once '../../approot.inc.php'; @include_once '../../../approot.inc.php'; @include_once '../../../../approot.inc.php'; @include_once '../../../../../approot.inc.php'; @include_once '../../../../../../approot.inc.php'; @include_once '../../../../../../../approot.inc.php'; @include_once '../../../../../../../../approot.inc.php'; + @include_once getcwd().'/approot.inc.php'; // this is when launching phpunit from within the IDE - $this->debug("\n----------\n---------- ".$this->getName()."\n----------\n"); + $this->debug("\n----------\n---------- ".$this->getName()."\n----------\n"); } protected function debug($sMsg)