public function DevelStateEditorTest::setUp in Devel 8
Same name and namespace in other branches
- 8.3 tests/src/Functional/DevelStateEditorTest.php \Drupal\Tests\devel\Functional\DevelStateEditorTest::setUp()
- 8.2 tests/src/Functional/DevelStateEditorTest.php \Drupal\Tests\devel\Functional\DevelStateEditorTest::setUp()
- 4.x tests/src/Functional/DevelStateEditorTest.php \Drupal\Tests\devel\Functional\DevelStateEditorTest::setUp()
Overrides BrowserTestBase::setUp
File
- tests/
src/ Functional/ DevelStateEditorTest.php, line 44
Class
- DevelStateEditorTest
- Tests devel state editor.
Namespace
Drupal\Tests\devel\FunctionalCode
public function setUp() {
parent::setUp();
$this->state = $this->container
->get('state');
$this
->drupalPlaceBlock('page_title_block');
$this->develUser = $this
->drupalCreateUser([
'access devel information',
]);
$this->adminUser = $this
->drupalCreateUser([
'access devel information',
'administer site configuration',
]);
}