8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52072d1 commit 8414fb7Copy full SHA for 8414fb7
testing.rst
@@ -284,8 +284,9 @@ document::
284
285
// Assert that the response is a redirect to /demo/contact
286
$this->assertTrue(
287
- $client->getResponse()->isRedirect('/demo/contact'),
288
- 'response is a redirect to /demo/contact'
+ $client->getResponse()->isRedirect('/demo/contact')
+ // if the redirection URL was generated as an absolute URL
289
+ // $client->getResponse()->isRedirect('http://localhost/demo/contact')
290
);
291
// ...or simply check that the response is a redirect to any URL
292
$this->assertTrue($client->getResponse()->isRedirect());
0 commit comments