You are here

protected function MediaAccessTest::setUp in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/media/tests/src/Functional/MediaAccessTest.php \Drupal\Tests\media\Functional\MediaAccessTest::setUp()

Overrides MediaFunctionalTestTrait::setUp

File

core/modules/media/tests/src/Functional/MediaAccessTest.php, line 37

Class

MediaAccessTest
Basic access tests for Media.

Namespace

Drupal\Tests\media\Functional

Code

protected function setUp() {
  parent::setUp();

  // This is needed to provide the user cache context for a below assertion.
  $this
    ->drupalPlaceBlock('local_tasks_block');
}