You are here

public function GeneralTest::setUp in OptimizeDB 8

Overrides BrowserTestBase::setUp

File

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

Class

GeneralTest
Test the module functions.

Namespace

Drupal\Tests\optimizedb\Functional

Code

public function setUp() {
  parent::setUp();
  $this->adminUser = $this
    ->drupalCreateUser([
    'administer optimizedb settings',
  ]);
  $this
    ->drupalLogin($this->adminUser);
}