Skip to content
Permalink
Browse files

Fixing path location for group tests.

  • Loading branch information...
markstory committed Jun 13, 2010
1 parent f20cc81 commit 86eb46ca87b538e73fa05f11bdccc7cbcd61f543
Showing with 1 addition and 1 deletion.
  1. +1 −1 cake/tests/lib/test_manager.php
@@ -157,7 +157,7 @@ public function runTestCase($testCaseFile, PHPUnit_Framework_TestListener $repor
* @return mixed Results of group test being run.
*/
public function runGroupTest($groupTestName, $reporter, $codeCoverage = false) {
$filePath = $this->_getTestsPath($reporter->params) . strtolower($groupTestName) . $this->getExtension('group');
$filePath = $this->_getTestsPath($reporter->params) . DS . strtolower($groupTestName) . $this->getExtension('group');
if (!file_exists($filePath) || strpos($filePath, '..')) {
throw new InvalidArgumentException(sprintf(

0 comments on commit 86eb46c

Please sign in to comment.
You can’t perform that action at this time.