merged branch jakzal/bugfix/finder-test (PR #8150)
This PR was merged into the 2.2 branch. Discussion ---------- [Finder] Fixed a path in a test | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Test case was introduced in45b68e02bd
. It's probably better to be explicit rather than to rely on a path position in the array. Position in 2.1 was different than in the other branches. Commits -------127f3bd
[Finder] Fixed a path in a test.
This commit is contained in:
commit
afee664e8a
@ -761,7 +761,7 @@ class FinderTest extends Iterator\RealIteratorTestCase
|
|||||||
{
|
{
|
||||||
$locations = array(
|
$locations = array(
|
||||||
__DIR__.'/Fixtures/one',
|
__DIR__.'/Fixtures/one',
|
||||||
self::$files[8],
|
self::$tmpDir.DIRECTORY_SEPARATOR.'toto',
|
||||||
);
|
);
|
||||||
|
|
||||||
$finder = new Finder();
|
$finder = new Finder();
|
||||||
|
Reference in New Issue
Block a user