You are here

protected function AdminTest::setUp in Background Image 2.0.x

Same name and namespace in other branches
  1. 8 tests/src/Functional/AdminTest.php \Drupal\Tests\background_image\Functional\AdminTest::setUp()
  2. 2.x tests/src/Functional/AdminTest.php \Drupal\Tests\background_image\Functional\AdminTest::setUp()

Overrides BrowserTestBase::setUp

File

tests/src/Functional/AdminTest.php, line 36

Class

AdminTest
Tests adding image and viewing them through UI.

Namespace

Drupal\Tests\background_image\Functional

Code

protected function setUp() {
  parent::setUp();
  $this->adminUser = $this
    ->drupalCreateUser([
    'administer background image',
    'add background image',
    'edit background image',
  ]);
}