Fixing path location for group tests.

This commit is contained in:
mark_story 2010-06-12 23:31:08 -04:00
parent f20cc8110b
commit 86eb46ca87

View file

@ -157,7 +157,7 @@ class TestManager {
* @return mixed Results of group test being run.
*/
public function runGroupTest($groupTestName, $reporter, $codeCoverage = false) {
$filePath = $this->_getTestsPath($reporter->params) . strtolower($groupTestName) . $this->getExtension('group');
$filePath = $this->_getTestsPath($reporter->params) . DS . strtolower($groupTestName) . $this->getExtension('group');
if (!file_exists($filePath) || strpos($filePath, '..')) {
throw new InvalidArgumentException(sprintf(