mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 17:58:41 +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) {
|
||||
$this->con = Directory::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