You are here

protected function ViewsAccordionTest::setUp in Views Accordion 8

Same name in this branch
  1. 8 tests/src/Functional/ViewsAccordionTest.php \Drupal\Tests\views_accordion\Functional\ViewsAccordionTest::setUp()
  2. 8 tests/src/FunctionalJavascript/ViewsAccordionTest.php \Drupal\Tests\views_accordion\FunctionalJavascript\ViewsAccordionTest::setUp()
Same name and namespace in other branches
  1. 2.0.x tests/src/Functional/ViewsAccordionTest.php \Drupal\Tests\views_accordion\Functional\ViewsAccordionTest::setUp()

Overrides BrowserTestBase::setUp

File

tests/src/Functional/ViewsAccordionTest.php, line 25

Class

ViewsAccordionTest
Functional tests for the Views Accordion module.

Namespace

Drupal\Tests\views_accordion\Functional

Code

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