diff --git a/Tests/Functional/ProfilerTest.php b/Tests/Functional/ProfilerTest.php index ae6528f5..b7773f05 100644 --- a/Tests/Functional/ProfilerTest.php +++ b/Tests/Functional/ProfilerTest.php @@ -13,10 +13,8 @@ public function testShowProfiler() //Browse any page to get a profile $client->request('GET', '/'); - $crawler = $client->request('GET', '/_profiler/latest?panel=httplug'); - $title = $crawler->filterXPath('//*[@id="collector-content"]/h2'); - - $this->assertCount(1, $title); - $this->assertEquals('HTTPlug', $title->html()); + $client->request('GET', '/_profiler/latest?panel=httplug'); + $content = $client->getResponse()->getContent(); + $this->assertTrue(false !== strpos($content, '