Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4a176ce

Browse filesBrowse 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
Copy full SHA for 4a176ce

File tree

Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Component/Finder/Tests/Iterator/RecursiveDirectoryIteratorTest.php
+4-4Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.