Permalink
Browse files

Fixing group path checking in test manager.

  • Loading branch information...
1 parent 6d6f89b commit 359a770b8a640ac1845d953ed5b143c16eaea392 @predominant predominant committed Apr 23, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 cake/tests/lib/test_manager.php
@@ -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

0 comments on commit 359a770

Please sign in to comment.