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 @@ -141,10 +141,10 @@ public function testHttpUriWithPathQueryAndFragmentHttp()
141
141
public function testFtpUri ()
142
142
{
143
143
$ uri = new Uri ('ftp://username:password@ftp.example.com:21 ' );
144
- $ this ->assertEquals ('ftp://username:password@ftp.example.com:21 ' , (string ) $ uri );
144
+ $ this ->assertEquals ('ftp://username:password@ftp.example.com ' , (string ) $ uri );
145
145
$ this ->assertEquals ('ftp ' , $ uri ->getScheme ());
146
146
$ this ->assertEquals (21 , $ uri ->getPort ());
147
- $ this ->assertEquals ('username:password@ftp.example.com:21 ' , $ uri ->getAuthority ());
147
+ $ this ->assertEquals ('username:password@ftp.example.com ' , $ uri ->getAuthority ());
148
148
$ this ->assertEquals ('username:password ' , $ uri ->getUserInfo ());
149
149
$ this ->assertEquals ('ftp.example.com ' , $ uri ->getHost ());
150
150
$ this ->assertEquals ('' , $ uri ->getPath ());
You can’t perform that action at this time.
0 commit comments