function DevelMenuLinksTest::setUp
Same name in other branches
- 8.x-1.x tests/src/Functional/DevelMenuLinksTest.php \Drupal\Tests\devel\Functional\DevelMenuLinksTest::setUp()
- 5.x tests/src/Functional/DevelMenuLinksTest.php \Drupal\Tests\devel\Functional\DevelMenuLinksTest::setUp()
Overrides DevelBrowserTestBase::setUp
File
-
tests/
src/ Functional/ DevelMenuLinksTest.php, line 17
Class
- DevelMenuLinksTest
- Tests devel menu links.
Namespace
Drupal\Tests\devel\FunctionalCode
protected function setUp() {
parent::setUp();
// Devel links currently appears only in the devel menu.
// Place the devel menu block so we can ensure that these link works
// properly.
$this->drupalPlaceBlock('system_menu_block:devel');
$this->drupalPlaceBlock('page_title_block');
$this->drupalLogin($this->adminUser);
}