Remove unused mocks/vars

This commit is contained in:
Roland Franssen 2017-07-22 20:45:32 +02:00
parent 0793fe76b1
commit 445c56aa3e
3 changed files with 1 additions and 9 deletions

View File

@ -71,10 +71,6 @@ class RouterDebugCommandTest extends TestCase
->will($this->returnValue($routeCollection))
;
$loader = $this->getMockBuilder('Symfony\Bundle\FrameworkBundle\Routing\DelegatingLoader')
->disableOriginalConstructor()
->getMock();
$container = $this->getMockBuilder('Symfony\Component\DependencyInjection\ContainerInterface')->getMock();
$container
->expects($this->once())

View File

@ -70,10 +70,6 @@ class RouterMatchCommandTest extends TestCase
->will($this->returnValue($requestContext))
;
$loader = $this->getMockBuilder('Symfony\Bundle\FrameworkBundle\Routing\DelegatingLoader')
->disableOriginalConstructor()
->getMock();
$container = $this->getMockBuilder('Symfony\Component\DependencyInjection\ContainerInterface')->getMock();
$container
->expects($this->atLeastOnce())

View File

@ -61,7 +61,7 @@ class ConfigDebugCommandTest extends WebTestCase
public function testDumpUndefinedBundleOption()
{
$tester = $this->createCommandTester();
$ret = $tester->execute(array('name' => 'TestBundle', 'path' => 'foo'));
$tester->execute(array('name' => 'TestBundle', 'path' => 'foo'));
$this->assertContains('Unable to find configuration for "test.foo"', $tester->getDisplay());
}