diff --git a/Tests/Iterator/RecursiveDirectoryIteratorTest.php b/Tests/Iterator/RecursiveDirectoryIteratorTest.php index 4ea8393..2091d1a 100644 --- a/Tests/Iterator/RecursiveDirectoryIteratorTest.php +++ b/Tests/Iterator/RecursiveDirectoryIteratorTest.php @@ -29,7 +29,8 @@ public function testRewindOnFtp() { $this->expectNotToPerformAssertions(); - $i = new RecursiveDirectoryIterator('ftp://speedtest:speedtest@ftp.otenet.gr/', \RecursiveDirectoryIterator::SKIP_DOTS); + $i = new RecursiveDirectoryIterator('ftp://test.rebex.net/', \RecursiveDirectoryIterator::SKIP_DOTS); + $i->rewind(); } @@ -38,11 +39,11 @@ public function testRewindOnFtp() */ public function testSeekOnFtp() { - $i = new RecursiveDirectoryIterator('ftp://speedtest:speedtest@ftp.otenet.gr/', \RecursiveDirectoryIterator::SKIP_DOTS); + $i = new RecursiveDirectoryIterator('ftp://test.rebex.net/', \RecursiveDirectoryIterator::SKIP_DOTS); $contains = [ - 'ftp://speedtest:speedtest@ftp.otenet.gr'.\DIRECTORY_SEPARATOR.'test100Mb.db', - 'ftp://speedtest:speedtest@ftp.otenet.gr'.\DIRECTORY_SEPARATOR.'test100k.db', + 'ftp://test.rebex.net'.\DIRECTORY_SEPARATOR.'pub', + 'ftp://test.rebex.net'.\DIRECTORY_SEPARATOR.'readme.txt', ]; $actual = [];