Skip to content

Commit ff7d2af

Browse files
Remove deprecated code paths
1 parent 87fd917 commit ff7d2af

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

HttpClient/Test/HttpClientTestCase.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1074,10 +1074,6 @@ public function testMaxDuration()
10741074
public function testWithOptions()
10751075
{
10761076
$client = $this->getHttpClient(__FUNCTION__);
1077-
if (!method_exists($client, 'withOptions')) {
1078-
$this->markTestSkipped(sprintf('Not implementing "%s::withOptions()" is deprecated.', get_debug_type($client)));
1079-
}
1080-
10811077
$client2 = $client->withOptions(['base_uri' => 'http://localhost:8057/']);
10821078

10831079
$this->assertNotSame($client, $client2);

0 commit comments

Comments
 (0)