function MediaUiJavascriptTest::setUp

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

Overrides MediaFunctionalTestTrait::setUp

File

core/modules/media/tests/src/FunctionalJavascript/MediaUiJavascriptTest.php, line 42

Class

MediaUiJavascriptTest
Ensures that media UI works correctly.

Namespace

Drupal\Tests\media\FunctionalJavascript

Code

protected function setUp() : void {
    parent::setUp();
    $this->drupalPlaceBlock('local_actions_block');
    $this->drupalPlaceBlock('local_tasks_block');
}

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