FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fixed tests · leanphp/Silex-WebProfiler@20534cd · GitHub

Commit 20534cd

Browse files
committed
fixed tests
1 parent 9e4e726 commit 20534cd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎Tests/WebProfilerTest.php‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public function testRoutingProfiler()
7777

7878
$crawler = $client->click($crawler->selectLink('Routing')->link());
7979
$this->assertTrue($client->getResponse()->isOk(), 'Routing profiler is enabled');
80-
$this->assertCount(1, $crawler->filter('h2:contains("Routing for")'), 'Routing profiler is working');
80+
$this->assertCount(1, $crawler->filter('h2:contains("Routing for"), h3:contains("Route Matching Logs")'), 'Routing profiler is working');
8181
}
8282

8383
public function testTwigProfiler()
@@ -94,6 +94,6 @@ public function testTwigProfiler()
9494

9595
$crawler = $client->click($crawler->selectLink('Twig')->link());
9696
$this->assertTrue($client->getResponse()->isOk(), 'Twig profiler is enabled');
97-
$this->assertCount(1, $crawler->filter('h2:contains("Twig Stats")'), 'Twig profiler is working');
97+
$this->assertCount(1, $crawler->filter('h2:contains("Twig Stats"), h2:contains("Twig Metrics")'), 'Twig profiler is working');
9898
}
9999
}

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL