File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -326,7 +326,7 @@ public function testStringRepresentationWithMultipleSlashes(array $test)
326326 */
327327 public function testSpecialCharsInUserInfo (): void
328328 {
329- $ uri = $ this ->createUri ('/ ' )->withUserInfo ('foo@bar.com ' , 'pass#word ' );
329+ $ uri = $ this ->createUri ('http://example.com ' )->withUserInfo ('foo@bar.com ' , 'pass#word ' );
330330 self ::assertSame ('foo%40bar.com:pass%23word ' , $ uri ->getUserInfo ());
331331 }
332332
@@ -336,7 +336,7 @@ public function testSpecialCharsInUserInfo(): void
336336 */
337337 public function testAlreadyEncodedUserInfo (): void
338338 {
339- $ uri = $ this ->createUri ('/ ' )->withUserInfo ('foo%40bar.com ' , 'pass%23word ' );
339+ $ uri = $ this ->createUri ('http://example.com ' )->withUserInfo ('foo%40bar.com ' , 'pass%23word ' );
340340 self ::assertSame ('foo%40bar.com:pass%23word ' , $ uri ->getUserInfo ());
341341 }
342342}
You can’t perform that action at this time.
0 commit comments