public function FinderTest::testFollowLinks in Database Sanitize 7
File
- vendor/
symfony/ finder/ Tests/ FinderTest.php, line 266
Class
Namespace
Symfony\Component\Finder\TestsCode
public function testFollowLinks() {
if ('\\' == \DIRECTORY_SEPARATOR) {
$this
->markTestSkipped('symlinks are not supported on Windows');
}
$finder = $this
->buildFinder();
$this
->assertSame($finder, $finder
->followLinks());
$this
->assertIterator($this
->toAbsolute(array(
'foo',
'foo/bar.tmp',
'test.php',
'test.py',
'toto',
'foo bar',
)), $finder
->in(self::$tmpDir)
->getIterator());
}