Fixing group path checking in test manager.

Conflicts:

	cake/tests/lib/test_manager.php
This commit is contained in:
Mark Story 2010-04-23 00:46:13 -04:00
parent bc6b8e5dfd
commit 56967e71c1

View file

@ -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),