You are here

protected function PictureAdminUITest::setUp in Picture 8

Drupal\simpletest\WebTestBase\setUp().

Overrides WebTestBase::setUp

File

src/Tests/PictureAdminUITest.php, line 33
Definition of Drupal\picture\Tests\PictureAdminUITest.

Class

PictureAdminUITest
Thoroughly test the administrative interface of the Picture module.

Namespace

Drupal\picture\Tests

Code

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

  // Create user.
  $this->admin_user = $this
    ->drupalCreateUser(array(
    'administer responsive images',
  ));
  $this
    ->drupalLogin($this->admin_user);
}