function MultipleFileUploadTest::setUp

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

Overrides BrowserTestBase::setUp

File

core/modules/file/tests/src/Functional/MultipleFileUploadTest.php, line 29

Class

MultipleFileUploadTest
Tests multiple file upload.

Namespace

Drupal\Tests\file\Functional

Code

protected function setUp() : void {
    parent::setUp();
    $admin = $this->drupalCreateUser([
        'administer themes',
    ]);
    $this->drupalLogin($admin);
}

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