You are here

protected function FormTest::setUp in Style Switcher 3.0.x

Same name and namespace in other branches
  1. 8.2 tests/src/Functional/FormTest.php \Drupal\Tests\styleswitcher\Functional\FormTest::setUp()

Overrides BrowserTestBase::setUp

File

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

Class

FormTest
Tests Style Switcher forms.

Namespace

Drupal\Tests\styleswitcher\Functional

Code

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