You are here

public function DevelStateEditorTest::setUp in Devel 4.x

Same name and namespace in other branches
  1. 8.3 tests/src/Functional/DevelStateEditorTest.php \Drupal\Tests\devel\Functional\DevelStateEditorTest::setUp()
  2. 8 tests/src/Functional/DevelStateEditorTest.php \Drupal\Tests\devel\Functional\DevelStateEditorTest::setUp()
  3. 8.2 tests/src/Functional/DevelStateEditorTest.php \Drupal\Tests\devel\Functional\DevelStateEditorTest::setUp()

Overrides DevelBrowserTestBase::setUp

File

tests/src/Functional/DevelStateEditorTest.php, line 24

Class

DevelStateEditorTest
Tests devel state editor.

Namespace

Drupal\Tests\devel\Functional

Code

public function setUp() {
  parent::setUp();
  $this->state = $this->container
    ->get('state');
  $this
    ->drupalPlaceBlock('page_title_block');
}