Commit a8d2eded by Qiang Xue

Fixing test breaks.

parent 040db44f
......@@ -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;
......
......@@ -215,6 +215,7 @@ class FileHelperTest extends TestCase
$foundFiles = FileHelper::findFiles($dirName);
sort($expectedFiles);
sort($foundFiles);
$this->assertEquals($expectedFiles, $foundFiles);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment