mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Fixing path location for group tests.
This commit is contained in:
parent
f20cc8110b
commit
86eb46ca87
1 changed files with 1 additions and 1 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Reference in a new issue