Skip to content

Commit f2accaa

Browse files
fix tests (ter)
1 parent fd52a3f commit f2accaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

HttpClient/Test/HttpClientTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -860,7 +860,7 @@ public function testProxy()
860860

861861
$body = $response->toArray();
862862
$this->assertSame('localhost:8057', $body['HTTP_HOST']);
863-
$this->assertMatchesRegularExpression('#^http://(localhost|127\.0\.0\.1):8057/$#', $body['REQUEST_URI']);
863+
$this->assertMatchesRegularExpression('#^http://(localhost|127\.0\.\d+\.1):8057/$#', $body['REQUEST_URI']);
864864

865865
$response = $client->request('GET', 'http://localhost:8057/', [
866866
'proxy' => 'http://foo:b%3Dar@localhost:8057',

0 commit comments

Comments
 (0)