diff --git a/tests/System/File/Ftp/FtpStorageTest.php b/tests/System/File/Ftp/FtpStorageTest.php index 54ab64693..b0b335613 100644 --- a/tests/System/File/Ftp/FtpStorageTest.php +++ b/tests/System/File/Ftp/FtpStorageTest.php @@ -61,6 +61,10 @@ final class FtpStorageTest extends \PHPUnit\Framework\TestCase self::$con = null; } + if (self::$con === null) { + return; + } + FtpStorage::with(self::$con); }