You are here

protected function TaxonomyManagerPagesTest::setUp in Taxonomy Manager 2.0.x

Same name and namespace in other branches
  1. 8 src/Tests/TaxonomyManagerPagesTest.php \Drupal\taxonomy_manager\Tests\TaxonomyManagerPagesTest::setUp()

Overrides BrowserTestBase::setUp

File

src/Tests/TaxonomyManagerPagesTest.php, line 40

Class

TaxonomyManagerPagesTest
All pages of the module are accessible. (Routing and menus are OK)

Namespace

Drupal\taxonomy_manager\Tests

Code

protected function setUp() {
  parent::setUp();
  $this->adminUser = $this
    ->drupalCreateUser([
    'administer taxonomy',
  ]);
  $this->vocabulary = $this
    ->createVocabulary();
}