public function AdminSettingsTest::setUp in Sparkpost email 8.2
Same name in this branch
- 8.2 tests/src/Functional/AdminSettingsTest.php \Drupal\Tests\sparkpost\Functional\AdminSettingsTest::setUp()
- 8.2 modules/sparkpost_requeue/tests/src/Functional/AdminSettingsTest.php \Drupal\Tests\sparkpost_requeue\Functional\AdminSettingsTest::setUp()
Overrides BrowserTestBase::setUp
File
- tests/
src/ Functional/ AdminSettingsTest.php, line 41
Class
- AdminSettingsTest
- Test basic functionality.
Namespace
Drupal\Tests\sparkpost\FunctionalCode
public function setUp() : void {
parent::setUp();
$this->user = $this
->drupalCreateUser();
$this->admin = $this
->drupalCreateUser([
'administer sparkpost',
]);
}