Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Small cleanup in Finder tests.

  • Loading branch information...
commit 8fd0338ee9fe804d3154810b334e817cc019b23c 1 parent 2cb19ac
@umpirsky umpirsky authored
View
6 Tests/FinderTest.php
@@ -26,10 +26,7 @@ public static function setUpBeforeClass()
self::$tmpDir = sys_get_temp_dir().'/symfony2_finder';
}
- /**
- * @dataProvider getAdaptersTestData
- */
- public function testCreate($adapter)
+ public function testCreate()
{
$this->assertInstanceOf('Symfony\Component\Finder\Finder', Finder::create());
}
@@ -209,7 +206,6 @@ public function testIgnoreDotFiles($adapter)
$finder = $this->buildFinder($adapter);
$this->assertSame($finder, $finder->ignoreDotFiles(true)->ignoreVCS(false));
$this->assertIterator($this->toAbsolute(array('foo', 'foo/bar.tmp', 'test.php', 'test.py', 'toto', 'foo bar')), $finder->in(self::$tmpDir)->getIterator());
-
}
/**
View
1  Tests/Iterator/FilenameFilterIteratorTest.php
@@ -38,7 +38,6 @@ public function getAcceptData()
array(array(), array('/\.php$/'), array('test.py')),
);
}
-
}
class InnerNameIterator extends \ArrayIterator
View
2  Tests/Iterator/MockSplFileInfo.php
@@ -28,7 +28,6 @@ public function __construct($param)
if (is_string($param)) {
parent::__construct($param);
} elseif (is_array($param)) {
-
$defaults = array(
'name' => 'file.txt',
'contents' => null,
@@ -132,5 +131,4 @@ public function getRelativePathname()
{
return $this->relativePathname;
}
-
}
Please sign in to comment.
Something went wrong with that request. Please try again.