function MediaSettingsTest::setUp

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

Overrides MediaFunctionalTestTrait::setUp

File

core/modules/media/tests/src/Functional/MediaSettingsTest.php, line 20

Class

MediaSettingsTest
Testing the media settings.

Namespace

Drupal\Tests\media\Functional

Code

protected function setUp() {
    parent::setUp();
    $this->drupalLogin($this->createUser([
        'administer site configuration',
    ]));
}

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