You are here

protected function CollapsiblockJavaScriptTestBase::setUp in Collapsiblock 3.x

Same name and namespace in other branches
  1. 4.x tests/src/FunctionalJavascript/CollapsiblockJavaScriptTestBase.php \Drupal\Tests\collapsiblock\FunctionalJavascript\CollapsiblockJavaScriptTestBase::setUp()

Overrides BrowserTestBase::setUp

2 calls to CollapsiblockJavaScriptTestBase::setUp()
CollapseActionTest::setUp in tests/src/FunctionalJavascript/CollapseActionTest.php
SlideTypeTest::setUp in tests/src/FunctionalJavascript/SlideTypeTest.php
2 methods override CollapsiblockJavaScriptTestBase::setUp()
CollapseActionTest::setUp in tests/src/FunctionalJavascript/CollapseActionTest.php
SlideTypeTest::setUp in tests/src/FunctionalJavascript/SlideTypeTest.php

File

tests/src/FunctionalJavascript/CollapsiblockJavaScriptTestBase.php, line 36

Class

CollapsiblockJavaScriptTestBase
Useful shortcuts for running Collapsiblock functional tests.

Namespace

Drupal\Tests\collapsiblock\FunctionalJavascript

Code

protected function setUp() {
  parent::setUp();
  $this->collapsiblockUnprivilegedUser = $this
    ->createUser([
    'access content',
  ]);
}