Skip to content

Commit bf2a043

Browse files
committed
fix Finder test using the ftp wrapper by switching the server being used
1 parent b98fcaa commit bf2a043

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:[email protected]/', \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:[email protected]/', \RecursiveDirectoryIterator::SKIP_DOTS);
42+
$i = new RecursiveDirectoryIterator('ftp://test.rebex.net/', \RecursiveDirectoryIterator::SKIP_DOTS);
4343

4444
$contains = [
45-
'ftp://speedtest:[email protected]'.\DIRECTORY_SEPARATOR.'test100Mb.db',
46-
'ftp://speedtest:[email protected]'.\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)