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 57648c5492
commit 70b3225ff0

View file

@ -154,7 +154,7 @@ class TestManager {
public function runGroupTest($groupTestName, &$reporter) { public function runGroupTest($groupTestName, &$reporter) {
$filePath = $this->_getTestsPath('groups') . DS . strtolower($groupTestName) . $this->_groupExtension; $filePath = $this->_getTestsPath('groups') . DS . strtolower($groupTestName) . $this->_groupExtension;
if (!file_exists($filePath) || strpos($testCaseFileWithPath, '..')) { if (!file_exists($filePath) || strpos($filePath, '..')) {
trigger_error(sprintf( trigger_error(sprintf(
__("Group test %s cannot be found at %s", true), __("Group test %s cannot be found at %s", true),
htmlentities($groupTestName), htmlentities($groupTestName),