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
bc6b8e5dfd
commit
56967e71c1
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ class TestManager {
|
|||
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