You are here

protected function MediaInstallTest::setUp in Drupal 8

Same name and namespace 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()

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',
  ]));
}