You are here

public function ToolkitImagemagickFormTest::setUp in ImageMagick 8.2

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

Overrides BrowserTestBase::setUp

File

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

Class

ToolkitImagemagickFormTest
Tests ImageMagick subform and settings.

Namespace

Drupal\Tests\imagemagick\Functional

Code

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

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