Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 392570e

Browse files
committed
Replace innerText() with text() for backward compatibility
1 parent 620d9dc commit 392570e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/WebProfilerBundle/Tests/Controller/RouterControllerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function testFalseNegativeTrace()
4040
$matchedRouteCell = $crawler
4141
->filter('#router-logs .status-success td')
4242
->reduce(function (Crawler $td) use ($path): bool {
43-
return $td->innerText() === $path;
43+
return $td->text() === $path;
4444
});
4545

4646
$this->assertSame(1, $matchedRouteCell->count());

0 commit comments

Comments
 (0)