We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21a81ad commit 011a1bdCopy full SHA for 011a1bd
1 file changed
tests/system/HTTP/URITest.php
@@ -978,6 +978,22 @@ public function testSetURISilent()
978
$this->assertTrue(true);
979
}
980
981
+ public function testCreateURIStringNoArguments()
982
+ {
983
+ $uri = URI::createURIString();
984
+
985
+ $expected = '';
986
+ $this->assertSame($expected, $uri);
987
+ }
988
989
+ public function testCreateURIStringOnlyAuthority()
990
991
+ $uri = URI::createURIString(null, 'example.com');
992
993
+ $expected = 'example.com';
994
995
996
997
public function testCreateURIString()
998
{
999
$uri = URI::createURIString('https', 'example.com', '/');
0 commit comments