Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
a8d2eded
Commit
a8d2eded
authored
Jun 11, 2013
by
Qiang Xue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing test breaks.
parent
040db44f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
FileHelper.php
framework/yii/helpers/base/FileHelper.php
+1
-1
FileHelperTest.php
tests/unit/framework/helpers/FileHelperTest.php
+1
-0
No files found.
framework/yii/helpers/base/FileHelper.php
View file @
a8d2eded
...
...
@@ -251,7 +251,7 @@ class FileHelper
* the supported options.
* @return boolean whether the file or directory satisfies the filtering options.
*/
p
rotected
static
function
filterPath
(
$path
,
$options
)
p
ublic
static
function
filterPath
(
$path
,
$options
)
{
if
(
isset
(
$options
[
'filter'
])
&&
!
call_user_func
(
$options
[
'filter'
],
$path
))
{
return
false
;
...
...
tests/unit/framework/helpers/FileHelperTest.php
View file @
a8d2eded
...
...
@@ -215,6 +215,7 @@ class FileHelperTest extends TestCase
$foundFiles
=
FileHelper
::
findFiles
(
$dirName
);
sort
(
$expectedFiles
);
sort
(
$foundFiles
);
$this
->
assertEquals
(
$expectedFiles
,
$foundFiles
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment