function DevelToolbarTest::setUp
Same name in other branches
- 5.x tests/src/Functional/DevelToolbarTest.php \Drupal\Tests\devel\Functional\DevelToolbarTest::setUp()
Overrides DevelBrowserTestBase::setUp
File
-
tests/
src/ Functional/ DevelToolbarTest.php, line 51
Class
- DevelToolbarTest
- Tests devel toolbar module functionality.
Namespace
Drupal\Tests\devel\FunctionalCode
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',
'access toolbar',
]);
$this->toolbarUser = $this->drupalCreateUser([
'access toolbar',
]);
}