You are here

public function IntegrationTest::setUp in Term Merge 8

Overrides TermMergeTestBase::setUp

File

tests/src/Functional/IntegrationTest.php, line 17

Class

IntegrationTest
Tests the Term Merge module.

Namespace

Drupal\Tests\term_merge\Functional

Code

public function setUp() {
  parent::setUp();
  $permissions = [
    'merge taxonomy terms',
    'edit terms in ' . $this->vocabulary
      ->id(),
  ];
  $this->user = $this
    ->drupalCreateUser($permissions);
  $this
    ->drupalLogin($this->user);
}