Skip to content
This repository was archived by the owner on Jan 30, 2020. It is now read-only.

Commit b4e1344

Browse files
committed
no port test
1 parent 224cc9a commit b4e1344

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/ClientTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,8 +559,10 @@ public function portChangeDataProvider()
559559
*/
560560
public function testAbsoluteSetPortWhenNoPort($absoluteURI, $port)
561561
{
562-
$client = new Client($absoluteURI);
562+
$client = new Client();
563563
$client->getUri()->setPort(null);
564+
565+
$client->setUri($absoluteURI);
564566
$this->assertSame($port, $client->getUri()->getPort());
565567

566568
$client->setAdapter(Test::class);

0 commit comments

Comments
 (0)