diff --git a/Tests/ProfilerTest.php b/Tests/ProfilerTest.php index acb889c75..b78424663 100644 --- a/Tests/ProfilerTest.php +++ b/Tests/ProfilerTest.php @@ -70,12 +70,6 @@ public function testRender() $profile = new Profile('foo'); - // This is only needed for WebProfilerBundle=3.2, remove when support for it is dropped - $requestCollector = new RequestDataCollector(); - $requestCollector->collect($request, $response); - $requestCollector->lateCollect(); - $profile->addCollector($requestCollector); - $output = $this->twig->render('db.html.twig', [ 'request' => $request, 'token' => 'foo',