mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Fixing group path checking in test manager.
Conflicts: cake/tests/lib/test_manager.php
This commit is contained in:
parent
57648c5492
commit
70b3225ff0
1 changed files with 1 additions and 1 deletions
|
@ -154,7 +154,7 @@ class TestManager {
|
|||
public function runGroupTest($groupTestName, &$reporter) {
|
||||
$filePath = $this->_getTestsPath('groups') . DS . strtolower($groupTestName) . $this->_groupExtension;
|
||||
|
||||
if (!file_exists($filePath) || strpos($testCaseFileWithPath, '..')) {
|
||||
if (!file_exists($filePath) || strpos($filePath, '..')) {
|
||||
trigger_error(sprintf(
|
||||
__("Group test %s cannot be found at %s", true),
|
||||
htmlentities($groupTestName),
|
||||
|
|
Loading…
Reference in a new issue