function MediaInstallTest::setUp

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

Overrides BrowserTestBase::setUp

File

core/modules/media/tests/src/Functional/MediaInstallTest.php, line 27

Class

MediaInstallTest
Tests media Install / Uninstall logic.

Namespace

Drupal\Tests\media\Functional

Code

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

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