Same name in other branches
  1. 5.0.x tests/src/Functional/AdvaggFunctionalTestBase.php \Drupal\Tests\advagg\functional\AdvaggFunctionalTestBase::setUp()
  2. 8.x-3.x tests/src/Functional/AdvaggFunctionalTestBase.php \Drupal\Tests\advagg\functional\AdvaggFunctionalTestBase::setUp()
  3. 8.x-4.x tests/src/Functional/AdvaggFunctionalTestBase.php \Drupal\Tests\advagg\functional\AdvaggFunctionalTestBase::setUp()

File

tests/src/Functional/AdvaggFunctionalTestBase.php, line 46

Class

AdvaggFunctionalTestBase
Base test class for Advagg test cases.

Namespace

Drupal\Tests\advagg\functional

Code

protected function setUp() : void {
    parent::setUp();
    $this->user = $this->drupalCreateUser([
        'administer site configuration',
        'access administration pages',
    ]);
    $this->drupalLogin($this->user);
}