Update DirectoryTest.php

This commit is contained in:
Dennis Eichhorn 2019-11-19 18:06:02 +01:00 committed by GitHub
parent a7c7025667
commit 76d5d8348b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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