You are here

protected function DevelRouteInfoTest::setUp in Devel 8

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

Overrides BrowserTestBase::setUp

File

tests/src/Functional/DevelRouteInfoTest.php, line 30

Class

DevelRouteInfoTest
Tests routes info pages and links.

Namespace

Drupal\Tests\devel\Functional

Code

protected function setUp() {
  parent::setUp();
  $this
    ->drupalPlaceBlock('system_menu_block:devel');
  $this
    ->drupalPlaceBlock('page_title_block');
  $this->develUser = $this
    ->drupalCreateUser([
    'access devel information',
  ]);
  $this
    ->drupalLogin($this->develUser);
}