Fixing test breaks.

This commit is contained in:
Qiang Xue
2013-06-11 11:23:33 -04:00
parent 040db44fbd
commit a8d2eded98
2 changed files with 2 additions and 1 deletions

View File

@@ -251,7 +251,7 @@ class FileHelper
* the supported options.
* @return boolean whether the file or directory satisfies the filtering options.
*/
protected static function filterPath($path, $options)
public static function filterPath($path, $options)
{
if (isset($options['filter']) && !call_user_func($options['filter'], $path)) {
return false;

View File

@@ -215,6 +215,7 @@ class FileHelperTest extends TestCase
$foundFiles = FileHelper::findFiles($dirName);
sort($expectedFiles);
sort($foundFiles);
$this->assertEquals($expectedFiles, $foundFiles);
}