Update FileTest.php

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

View File

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