Skip to content

Commit

Permalink
Remove obsolete argument to kernel extension
Browse files Browse the repository at this point in the history
  • Loading branch information
alcaeus committed Dec 20, 2018
1 parent a80af45 commit 95d104b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Tests/ProfilerTest.php
Expand Up @@ -14,7 +14,6 @@
use Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpKernel\Fragment\FragmentHandler;
use Symfony\Component\HttpKernel\Profiler\Profile;
use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
use Twig_Environment;
Expand Down Expand Up @@ -46,7 +45,7 @@ public function setUp()

$this->twig->addExtension(new CodeExtension('', '', ''));
$this->twig->addExtension(new RoutingExtension($this->getMockBuilder(UrlGeneratorInterface::class)->getMock()));
$this->twig->addExtension(new HttpKernelExtension($this->getMockBuilder(FragmentHandler::class)->disableOriginalConstructor()->getMock()));
$this->twig->addExtension(new HttpKernelExtension());
$this->twig->addExtension(new WebProfilerExtension());
$this->twig->addExtension(new DoctrineExtension());

Expand Down

0 comments on commit 95d104b

Please sign in to comment.