Skip to content

Commit 077c0ac

Browse files
committed
Use absolute URL in Client example usage
1 parent b7a48ee commit 077c0ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ HttpKernelInterface, such as `Symfony\Component\HttpKernel\Client`.
5656
$kernel = new CgiHttpKernel(__DIR__.'/../phpBB');
5757
$client = new Client($kernel);
5858

59-
$crawler = $client->request('GET', 'index.php');
59+
$crawler = $client->request('GET', '/index.php');
6060
$this->assertGreaterThan(0, $crawler->filter('.topiclist')->count());
6161

6262
## Is it really a lie?

0 commit comments

Comments
 (0)