Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixing group path checking in test manager.
  • Loading branch information
predominant committed Apr 23, 2010
1 parent 6d6f89b commit 359a770
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cake/tests/lib/test_manager.php
Expand Up @@ -138,7 +138,7 @@ function runGroupTest($groupTestName, &$reporter) {
$manager =& new TestManager();
$filePath = $manager->_getTestsPath('groups') . DS . strtolower($groupTestName) . $manager->_groupExtension;

if (!file_exists($filePath) || strpos($testCaseFileWithPath, '..')) {
if (!file_exists($filePath) || strpos($filePath, '..')) {
trigger_error(
sprintf("Group test %s cannot be found at %s", htmlentities($groupTestName), htmlentities($filePath)),
E_USER_ERROR
Expand Down

0 comments on commit 359a770

Please sign in to comment.