function MediaOverviewPageTest::setUp

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

Overrides MediaFunctionalTestTrait::setUp

File

core/modules/media/tests/src/Functional/MediaOverviewPageTest.php, line 24

Class

MediaOverviewPageTest
Tests the Media overview page.

Namespace

Drupal\Tests\media\Functional

Code

protected function setUp() : void {
    parent::setUp();
    $this->drupalLogin($this->nonAdminUser);
}

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