You are here

public function AdminSettingsTest::setUp in Sparkpost email 8.2

Same name in this branch
  1. 8.2 tests/src/Functional/AdminSettingsTest.php \Drupal\Tests\sparkpost\Functional\AdminSettingsTest::setUp()
  2. 8.2 modules/sparkpost_requeue/tests/src/Functional/AdminSettingsTest.php \Drupal\Tests\sparkpost_requeue\Functional\AdminSettingsTest::setUp()

Overrides BrowserTestBase::setUp

File

modules/sparkpost_requeue/tests/src/Functional/AdminSettingsTest.php, line 41

Class

AdminSettingsTest
Test basic functionality.

Namespace

Drupal\Tests\sparkpost_requeue\Functional

Code

public function setUp() : void {
  parent::setUp();
  $this->user = $this
    ->drupalCreateUser();
  $this->admin = $this
    ->drupalCreateUser([
    'access administration pages',
  ]);
}