You are here

protected function ConfigAccessTest::setUp in Entity Browser 8

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

Overrides BrowserTestBase::setUp

File

tests/src/Functional/ConfigAccessTest.php, line 44

Class

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

Namespace

Drupal\Tests\entity_browser\Functional

Code

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