From: Graham Campbell <GrahamCampbell@users.noreply.github.com>
Date: Thu, 22 Oct 2020 08:42:05 +0100
Subject: Fixed bad test (#355)

PHP 7.3.24, 7.4.12 and 8.0.0RC1 or higher now allow zero as a port: php/php-src@81b2f3e.

Origin: upstream, https://github.com/guzzle/psr7/commit/25f7f893f0b52b7b14e244a16679d72b1f0088de
Bug-Debian: https://bugs.debian.org/980664
---
 tests/UriTest.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/UriTest.php b/tests/UriTest.php
index 3953e82..379a8e7 100644
--- a/tests/UriTest.php
+++ b/tests/UriTest.php
@@ -130,11 +130,11 @@ class UriTest extends BaseTest
         (new Uri())->withPort(-1);
     }
 
-    public function testParseUriPortCannotBeZero()
+    public function testParseUriPortCannotBeNegative()
     {
         $this->expectExceptionGuzzle('InvalidArgumentException', 'Unable to parse URI');
 
-        new Uri('//example.com:0');
+        new Uri('//example.com:-1');
     }
 
     public function testSchemeMustHaveCorrectType()
