You are here

public function SettingsFormTest::setUp in Image Effects 8.2

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

Overrides BrowserTestBase::setUp

File

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

Class

SettingsFormTest
Settings form test.

Namespace

Drupal\Tests\image_effects\Functional

Code

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

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