Closed AmsTaFFix closed 10 years ago
When i try to run tests in PHPStorm, i have this error, maybe reson is in the way how IDE runs tests.
"C:\Program Files (x86)\PHP\php.exe" C:\Users\sapogov\AppData\Local\Temp\ide-phpunit.php --configuration C:\Users\sapogov\Documents\git-real\amstaffix\extjs-bundle\phpunit.xml.dist C:\Users\sapogov\Documents\git-real\amstaffix\extjs-bundle\Tests\Command\ORM
How you can see IDE uses absolute pathes, maybe we should change phpunix.xml.dist path, because problem is in this lines
$dir = isset($_SERVER['KERNEL_DIR']) ? $_SERVER['KERNEL_DIR'] : static::getPhpUnitXmlDir();
if, phpunit configuration file will be placed in same path, as AppKernel.php, we can solve this problem simply
i'm sorry, my mistake. It will be simplier to change working directoy in my IDE configs.
When i try to run tests in PHPStorm, i have this error, maybe reson is in the way how IDE runs tests.
How you can see IDE uses absolute pathes, maybe we should change phpunix.xml.dist path, because problem is in this lines
if, phpunit configuration file will be placed in same path, as AppKernel.php, we can solve this problem simply