You are here

public function ToolkitImagemagickFormTest::setUp in ImageMagick 8.3

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

Overrides BrowserTestBase::setUp

File

tests/src/Functional/ToolkitImagemagickFormTest.php, line 29

Class

ToolkitImagemagickFormTest
Tests ImageMagick subform and settings.

Namespace

Drupal\Tests\imagemagick\Functional

Code

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

  // Create an admin user.
  $admin_user = $this
    ->drupalCreateUser([
    'administer site configuration',
  ]);
  $this
    ->drupalLogin($admin_user);
}