protected function ViewsAccordionTest::setUp in Views Accordion 8
Same name in this branch
- 8 tests/src/Functional/ViewsAccordionTest.php \Drupal\Tests\views_accordion\Functional\ViewsAccordionTest::setUp()
- 8 tests/src/FunctionalJavascript/ViewsAccordionTest.php \Drupal\Tests\views_accordion\FunctionalJavascript\ViewsAccordionTest::setUp()
Same name and namespace in other branches
- 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\FunctionalCode
protected function setUp() {
parent::setUp();
$user = $this
->drupalCreateUser([
'access administration pages',
'administer views',
]);
$this
->drupalLogin($user);
}