Skip to content

Commit

Permalink
Excluding hidden files from test directory adding.
Browse files Browse the repository at this point in the history
Fixes #2031
  • Loading branch information
markstory committed Sep 28, 2011
1 parent 421a211 commit 6e22f1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/TestSuite/CakeTestSuite.php
Expand Up @@ -30,7 +30,7 @@ class CakeTestSuite extends PHPUnit_Framework_TestSuite {
*/
public function addTestDirectory($directory = '.') {
$folder = new Folder($directory);
list($dirs, $files) = $folder->read(true, false, true);
list($dirs, $files) = $folder->read(true, true, true);

foreach ($files as $file) {
$this->addTestFile($file);
Expand Down

0 comments on commit 6e22f1d

Please sign in to comment.