mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-12 14:58:42 +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) {
|
if ($this->con === null) {
|
||||||
$this->con = File::ftpConnect(new Http(self::BASE));
|
$this->con = File::ftpConnect(new Http(self::BASE));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($this->con === false) {
|
||||||
|
$this->markTestSkipped(
|
||||||
|
'The ftp connection is not available.'
|
||||||
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testStatic() : void
|
public function testStatic() : void
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user