You are here

protected function HierarchicalTaxonomyMenuTest::setUp in Hierarchical Taxonomy Menu 8

Overrides BrowserTestBase::setUp

File

tests/src/Functional/HierarchicalTaxonomyMenuTest.php, line 36

Class

HierarchicalTaxonomyMenuTest
Tests the Hierarchical Taxonomy Menu.

Namespace

Drupal\Tests\hierarchical_taxonomy_menu\Functional

Code

protected function setUp() {
  parent::setUp();
  $admin_user = $this
    ->drupalCreateUser([
    'administer blocks',
    'administer site configuration',
    'access administration pages',
  ]);
  $this
    ->drupalLogin($admin_user);
}