You are here

protected function ConfigurationTest::setUp in Entity Browser 8

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

Overrides BrowserTestBase::setUp

File

tests/src/FunctionalJavascript/ConfigurationTest.php, line 48

Class

ConfigurationTest
Tests the config UI for adding and editing entity browsers.

Namespace

Drupal\Tests\entity_browser\FunctionalJavascript

Code

protected function setUp() {
  parent::setUp();
  $this
    ->drupalPlaceBlock('local_tasks_block');
  $this
    ->drupalPlaceBlock('local_actions_block');
  $this
    ->drupalCreateContentType([
    'type' => 'foo',
    'name' => 'Foo',
  ]);
  $this->adminUser = $this
    ->drupalCreateUser([
    'administer entity browsers',
  ]);
}