Skip to content
Browse files

Excluding hidden files from test directory adding.

Fixes #2031
  • Loading branch information...
1 parent 421a211 commit 6e22f1d0a852c8e4f3fdc888d9aa46ac8f1e2745 @markstory markstory committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/TestSuite/CakeTestSuite.php
View
2 lib/Cake/TestSuite/CakeTestSuite.php
@@ -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);

0 comments on commit 6e22f1d

Please sign in to comment.
Something went wrong with that request. Please try again.