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 in 45b68e02bd.

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:
Fabien Potencier 2013-05-27 22:40:05 +02:00
commit afee664e8a
1 changed files with 1 additions and 1 deletions

View File

@ -761,7 +761,7 @@ class FinderTest extends Iterator\RealIteratorTestCase
{
$locations = array(
__DIR__.'/Fixtures/one',
self::$files[8],
self::$tmpDir.DIRECTORY_SEPARATOR.'toto',
);
$finder = new Finder();