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

Commit b365d17

Browse files
committed
no port test
1 parent 2ea88df commit b365d17

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/ClientTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,9 +557,10 @@ public function portChangeDataProvider()
557557
/**
558558
* @dataProvider portChangeDataProvider
559559
*/
560-
public function testAbsoluteSetPort443OnHttps($absoluteURI, $port)
560+
public function testAbsoluteSetPortWhenNoPort($absoluteURI, $port)
561561
{
562562
$client = new Client($absoluteURI);
563+
$client->setPort(null);
563564
$this->assertSame($port, $client->getUri()->getPort());
564565

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

0 commit comments

Comments
 (0)