diff --git a/Tests/FinderTest.php b/Tests/FinderTest.php index bc787b61..143cff2f 100644 --- a/Tests/FinderTest.php +++ b/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()); - } /** diff --git a/Tests/Iterator/FilenameFilterIteratorTest.php b/Tests/Iterator/FilenameFilterIteratorTest.php index 1deea0c0..c4b97959 100644 --- a/Tests/Iterator/FilenameFilterIteratorTest.php +++ b/Tests/Iterator/FilenameFilterIteratorTest.php @@ -38,7 +38,6 @@ public function getAcceptData() array(array(), array('/\.php$/'), array('test.py')), ); } - } class InnerNameIterator extends \ArrayIterator diff --git a/Tests/Iterator/MockSplFileInfo.php b/Tests/Iterator/MockSplFileInfo.php index 50312860..a50e4c9f 100644 --- a/Tests/Iterator/MockSplFileInfo.php +++ b/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; } - }