-
-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix Finder test using the ftp wrapper by switching the server being used
- Loading branch information
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,7 +27,7 @@ protected function setUp(): void | |
*/ | ||
public function testRewindOnFtp() | ||
{ | ||
$i = new RecursiveDirectoryIterator('ftp://speedtest:[email protected]/', \RecursiveDirectoryIterator::SKIP_DOTS); | ||
$i = new RecursiveDirectoryIterator('ftp://test.rebex.net/', \RecursiveDirectoryIterator::SKIP_DOTS); | ||
|
||
$i->rewind(); | ||
|
||
|
@@ -39,11 +39,11 @@ public function testRewindOnFtp() | |
*/ | ||
public function testSeekOnFtp() | ||
{ | ||
$i = new RecursiveDirectoryIterator('ftp://speedtest:[email protected]/', \RecursiveDirectoryIterator::SKIP_DOTS); | ||
$i = new RecursiveDirectoryIterator('ftp://test.rebex.net/', \RecursiveDirectoryIterator::SKIP_DOTS); | ||
|
||
$contains = [ | ||
'ftp://speedtest:[email protected]'.\DIRECTORY_SEPARATOR.'test100Mb.db', | ||
'ftp://speedtest:[email protected]'.\DIRECTORY_SEPARATOR.'test100k.db', | ||
'ftp://test.rebex.net'.\DIRECTORY_SEPARATOR.'pub', | ||
'ftp://test.rebex.net'.\DIRECTORY_SEPARATOR.'readme.txt', | ||
]; | ||
$actual = []; | ||
|
||
|