Skip to content
Snippets Groups Projects
Commit 1a55b3e7 authored by Daniel Hürtgen's avatar Daniel Hürtgen
Browse files

BUGFIX: Fix doctrine/instanciator issue with SplFileInfo class

See https://github.com/sebastianbergmann/phpunit/issues/1409
parent bc1baf09
No related merge requests found
...@@ -92,12 +92,10 @@ class FinderTest extends \PHPUnit_Framework_TestCase ...@@ -92,12 +92,10 @@ class FinderTest extends \PHPUnit_Framework_TestCase
->willReturn($this->symfonyFinderMock); ->willReturn($this->symfonyFinderMock);
} }
$splFileInfoMock = $this->getMOck( $splFileInfoMock = $this->getMock(
'Symfony\Component\Finder\SplFileInfo', 'Symfony\Component\Finder\SplFileInfo',
array(), array(),
array(), array(null, null, null)
'',
false
); );
$splFileInfoMock $splFileInfoMock
->expects($this->once()) ->expects($this->once())
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment