There was an error while loading. Please reload this page.
1 parent b57411b commit f9036caCopy full SHA for f9036ca
tests/Symfony/Tests/Component/HttpFoundation/RequestTest.php
@@ -53,6 +53,7 @@ public function testCreate()
53
$this->assertEquals('http://test.com/foo?bar=baz', $request->getUri());
54
$this->assertEquals('/foo', $request->getPathInfo());
55
$this->assertEquals('bar=baz', $request->getQueryString());
56
+ $this->assertEquals(80, $request->getPort());
57
58
$request = Request::create('https://test.com/foo?bar=baz');
59
$this->assertEquals('https://test.com/foo?bar=baz', $request->getUri());
0 commit comments