You are here

public function FtpTest::setUp in Flysystem 8

Same name and namespace in other branches
  1. 3.x tests/src/Unit/Flysystem/FtpTest.php \Drupal\Tests\flysystem\Unit\Flysystem\FtpTest::setUp()
  2. 2.0.x tests/src/Unit/Flysystem/FtpTest.php \Drupal\Tests\flysystem\Unit\Flysystem\FtpTest::setUp()
  3. 3.0.x tests/src/Unit/Flysystem/FtpTest.php \Drupal\Tests\flysystem\Unit\Flysystem\FtpTest::setUp()

Overrides UnitTestCase::setUp

File

tests/src/Unit/Flysystem/FtpTest.php, line 20

Class

FtpTest
@coversDefaultClass \Drupal\flysystem\Flysystem\Ftp @group flysystem

Namespace

Drupal\Tests\flysystem\Unit\Flysystem

Code

public function setUp() {
  parent::setUp();
  if (!defined('FTP_BINARY')) {
    $this
      ->markTestSkipped('The FTP_BINARY constant is not defined.');
  }
}