minor #26785 [Finder] fix tests (xabbuh)

This PR was merged into the 2.7 branch.

Discussion
----------

[Finder] fix tests

| Q             | A
| ------------- | ---
| Branch?       | 2.7
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        |

Commits
-------

540ea11 [Finder] fix tests
This commit is contained in:
Nicolas Grekas 2018-04-04 13:38:46 +02:00
commit 07f8f81463
2 changed files with 20 additions and 0 deletions

View File

@ -15,6 +15,16 @@ use Symfony\Component\Finder\Adapter\BsdFindAdapter;
class BsdFinderTest extends FinderTest
{
public function testSymlinksNotResolved()
{
$this->markTestSkipped('Symlinks are always resolved using the BsdFinderAdapter.');
}
public function testBackPathNotNormalized()
{
$this->markTestSkipped('Paths are always normalized using the BsdFinderAdapter.');
}
protected function getAdapter()
{
$adapter = new BsdFindAdapter();

View File

@ -15,6 +15,16 @@ use Symfony\Component\Finder\Adapter\GnuFindAdapter;
class GnuFinderTest extends FinderTest
{
public function testSymlinksNotResolved()
{
$this->markTestSkipped('Symlinks are always resolved using the GnuFinderAdapter.');
}
public function testBackPathNotNormalized()
{
$this->markTestSkipped('Paths are always normalized using the GnuFinderAdapter.');
}
protected function getAdapter()
{
$adapter = new GnuFindAdapter();