function DevelToolbarTest::setUp

Same name in other branches
  1. 4.x tests/src/Functional/DevelToolbarTest.php \Drupal\Tests\devel\Functional\DevelToolbarTest::setUp()
  2. 5.x tests/src/Functional/DevelToolbarTest.php \Drupal\Tests\devel\Functional\DevelToolbarTest::setUp()

File

tests/src/Functional/DevelToolbarTest.php, line 53

Class

DevelToolbarTest
Tests devel toolbar module functionality.

Namespace

Drupal\Tests\devel\Functional

Code

public function setUp() {
    parent::setUp();
    $this->drupalPlaceBlock('local_tasks_block');
    $this->drupalPlaceBlock('page_title_block');
    $this->develUser = $this->drupalCreateUser([
        'administer site configuration',
        'access devel information',
        'execute php code',
        'access toolbar',
    ]);
    $this->toolbarUser = $this->drupalCreateUser([
        'access toolbar',
    ]);
}