protected function MediaAccessTest::setUp in Drupal 9
Same name and namespace in other branches
- 8 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\FunctionalCode
protected function setUp() : void {
parent::setUp();
// This is needed to provide the user cache context for a below assertion.
$this
->drupalPlaceBlock('local_tasks_block');
}