You are here

protected function GlobalConfigurationTest::setUp in Collapsiblock 4.x

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

Overrides CollapsiblockFunctionalTestBase::setUp

File

tests/src/Functional/GlobalConfigurationTest.php, line 22

Class

GlobalConfigurationTest
Test the Collapsiblock global configuration form.

Namespace

Drupal\Tests\collapsiblock\Functional

Code

protected function setUp() : void {
  parent::setUp();
  $this->collapsiblockGlobalAdminUser = $this
    ->drupalCreateUser([
    'administer site configuration',
    'access administration pages',
  ]);
}