You are here

public function SettingsFormTest::setUp in Image Effects 8.3

Same name and namespace in other branches
  1. 8 tests/src/Functional/SettingsFormTest.php \Drupal\Tests\image_effects\Functional\SettingsFormTest::setUp()
  2. 8.2 tests/src/Functional/SettingsFormTest.php \Drupal\Tests\image_effects\Functional\SettingsFormTest::setUp()

Overrides BrowserTestBase::setUp

File

tests/src/Functional/SettingsFormTest.php, line 33

Class

SettingsFormTest
Settings form test.

Namespace

Drupal\Tests\image_effects\Functional

Code

public function setUp() : void {
  parent::setUp();

  // Create a user and log it in.
  $this->adminUser = $this
    ->drupalCreateUser([
    'administer site configuration',
    'administer image styles',
  ]);
  $this
    ->drupalLogin($this->adminUser);
}