mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-08 21:28:40 +00:00
Update DirectoryTest.php
This commit is contained in:
parent
a7c7025667
commit
76d5d8348b
|
|
@ -31,6 +31,12 @@ class DirectoryTest extends \PHPUnit\Framework\TestCase
|
||||||
if ($this->con === null) {
|
if ($this->con === null) {
|
||||||
$this->con = Directory::ftpConnect(new Http(self::BASE));
|
$this->con = Directory::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