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 3281d24 commit 7e86f90Copy full SHA for 7e86f90
Test/HttpClientTestCase.php
@@ -844,7 +844,7 @@ public function testProxy()
844
845
$body = $response->toArray();
846
$this->assertSame('localhost:8057', $body['HTTP_HOST']);
847
- $this->assertRegexp('#^http://(localhost|127\.0\.0\.1):8057/$#', $body['REQUEST_URI']);
+ $this->assertMatchesRegularExpression('#^http://(localhost|127\.0\.0\.1):8057/$#', $body['REQUEST_URI']);
848
849
$response = $client->request('GET', 'http://localhost:8057/', [
850
'proxy' => 'http://foo:b%3Dar@localhost:8057',
0 commit comments