function RemoteFileSaveUploadTest::setUp

Same name in other branches
  1. 9 core/modules/file/tests/src/Functional/RemoteFileSaveUploadTest.php \Drupal\Tests\file\Functional\RemoteFileSaveUploadTest::setUp()
  2. 8.9.x core/modules/file/tests/src/Functional/RemoteFileSaveUploadTest.php \Drupal\Tests\file\Functional\RemoteFileSaveUploadTest::setUp()
  3. 10 core/modules/file/tests/src/Functional/RemoteFileSaveUploadTest.php \Drupal\Tests\file\Functional\RemoteFileSaveUploadTest::setUp()
  4. 11.x core/modules/file/tests/src/Functional/RemoteFileSaveUploadTest.php \Drupal\Tests\file\Functional\RemoteFileSaveUploadTest::setUp()

Overrides FileSaveUploadTest::setUp

File

modules/simpletest/tests/file.test, line 1050

Class

RemoteFileSaveUploadTest
Test the file_save_upload() function on remote filesystems.

Code

function setUp() {
    parent::setUp('file_test');
    variable_set('file_default_scheme', 'dummy-remote');
}

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