You are here

protected function EntityEmbedTest::setUp in Entity Browser 8

Same name and namespace in other branches
  1. 8.2 tests/src/FunctionalJavascript/EntityEmbedTest.php \Drupal\Tests\entity_browser\FunctionalJavascript\EntityEmbedTest::setUp()

Overrides BrowserTestBase::setUp

File

tests/src/FunctionalJavascript/EntityEmbedTest.php, line 44

Class

EntityEmbedTest
Tests entity browser within entity embed.

Namespace

Drupal\Tests\entity_browser\FunctionalJavascript

Code

protected function setUp() {
  parent::setUp();
  $this->adminUser = $this
    ->drupalCreateUser([
    'access content',
    'use text format full_html',
    'create test_entity_embed content',
    'access widget_context_default_value entity browser pages',
    'access bundle_filter entity browser pages',
  ]);
}