mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-24 07:08:40 +00:00
Update FileTest.php
This commit is contained in:
parent
76d5d8348b
commit
0f4739b7b1
|
|
@ -33,6 +33,12 @@ class FileTest extends \PHPUnit\Framework\TestCase
|
|||
if ($this->con === null) {
|
||||
$this->con = File::ftpConnect(new Http(self::BASE));
|
||||
}
|
||||
|
||||
if ($this->con === false) {
|
||||
$this->markTestSkipped(
|
||||
'The ftp connection is not available.'
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
public function testStatic() : void
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user