function FileTransferTest::setUp

Same name in this branch
  1. 11.x core/modules/system/tests/src/Functional/FileTransfer/FileTransferTest.php \Drupal\Tests\system\Functional\FileTransfer\FileTransferTest::setUp()
Same name in other branches
  1. 9 core/modules/system/tests/src/Functional/FileTransfer/FileTransferTest.php \Drupal\Tests\system\Functional\FileTransfer\FileTransferTest::setUp()
  2. 8.9.x core/modules/system/tests/src/Functional/FileTransfer/FileTransferTest.php \Drupal\Tests\system\Functional\FileTransfer\FileTransferTest::setUp()
  3. 10 core/modules/system/tests/src/Functional/FileTransfer/FileTransferTest.php \Drupal\Tests\system\Functional\FileTransfer\FileTransferTest::setUp()
  4. 10 core/modules/system/tests/src/Unit/FileTransfer/FileTransferTest.php \Drupal\Tests\system\Unit\FileTransfer\FileTransferTest::setUp()

Overrides UnitTestCase::setUp

File

core/modules/system/tests/src/Unit/FileTransfer/FileTransferTest.php, line 24

Class

FileTransferTest
@group FileTransfer

Namespace

Drupal\Tests\system\Unit\FileTransfer

Code

protected function setUp() : void {
    parent::setUp();
    $this->testConnection = TestFileTransfer::factory($this->root, []);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.