8000 minor #57794 fix test using the ftp wrapper by switching the server b… · symfony/symfony@4a176ce · GitHub
[go: up one dir, main page]

Skip to content

Commit 4a176ce

Browse files
committed
minor #57794 fix test using the ftp wrapper by switching the server being used (xabbuh)
This PR was merged into the 5.4 branch. Discussion ---------- fix test using the ftp wrapper by switching the server being used | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | | License | MIT I have picked the first server listed on https://www.sftp.net/public-online-ftp-servers. Commits ------- bf2a043 fix Finder test using the ftp wrapper by switching the server being used
2 parents b39ac01 + bf2a043 commit 4a176ce

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Symfony/Component/Finder/Tests/Iterator/RecursiveDirectoryIteratorTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ protected function setUp(): void
2727
*/
2828
public function testRewindOnFtp()
2929
{
30-
$i = new RecursiveDirectoryIterator('ftp://speedtest:speedtest@ftp.otenet.gr/', \RecursiveDirectoryIterator::SKIP_DOTS);
30+
$i = new RecursiveDirectoryIterator('ftp://test.rebex.net/', \RecursiveDirectoryIterator::SKIP_DOTS);
3131

3232
$i->rewind();
3333

@@ -39,11 +39,11 @@ public function testRewindOnFtp()
3939
*/
4040
public function testSeekOnFtp()
4141
{
42-
$i = new RecursiveDirectoryIterator('ftp://speedtest:speedtest@ftp.otenet.gr/', \RecursiveDirectoryIterator::SKIP_DOTS);
42+
$i = new RecursiveDirectoryIterator('ftp://test.rebex.net/', \RecursiveDirectoryIterator::SKIP_DOTS);
4343

4444
$contains = [
45-
'ftp://speedtest:speedtest@ftp.otenet.gr'.\DIRECTORY_SEPARATOR.'test100Mb.db',
46-
'ftp://speedtest:speedtest@ftp.otenet.gr'.\DIRECTORY_SEPARATOR.'test100k.db',
45+
'ftp://test.rebex.net'.\DIRECTORY_SEPARATOR.'pub',
46+
'ftp://test.rebex.net'.\DIRECTORY_SEPARATOR.'readme.txt',
4747
];
4848
$actual = [];
4949

0 commit comments

Comments
 (0)
0