You are here

protected function CollapsiblockFunctionalTestBase::setUp in Collapsiblock 3.x

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

Overrides BrowserTestBase::setUp

2 calls to CollapsiblockFunctionalTestBase::setUp()
BlockInstanceTest::setUp in tests/src/Functional/BlockInstanceTest.php
GlobalConfigurationTest::setUp in tests/src/Functional/GlobalConfigurationTest.php
2 methods override CollapsiblockFunctionalTestBase::setUp()
BlockInstanceTest::setUp in tests/src/Functional/BlockInstanceTest.php
GlobalConfigurationTest::setUp in tests/src/Functional/GlobalConfigurationTest.php

File

tests/src/Functional/CollapsiblockFunctionalTestBase.php, line 36

Class

CollapsiblockFunctionalTestBase
Useful shortcuts for running Collapsiblock functional tests.

Namespace

Drupal\Tests\collapsiblock\Functional

Code

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