You are here

protected function SmsFrameworkSettingsTest::setUp in SMS Framework 8

Same name and namespace in other branches
  1. 2.x tests/src/Functional/SmsFrameworkSettingsTest.php \Drupal\Tests\sms\Functional\SmsFrameworkSettingsTest::setUp()
  2. 2.1.x tests/src/Functional/SmsFrameworkSettingsTest.php \Drupal\Tests\sms\Functional\SmsFrameworkSettingsTest::setUp()

Overrides SmsFrameworkBrowserTestBase::setUp

File

tests/src/Functional/SmsFrameworkSettingsTest.php, line 17

Class

SmsFrameworkSettingsTest
Tests SMS Framework settings form.

Namespace

Drupal\Tests\sms\Functional

Code

protected function setUp() {
  parent::setUp();
  $account = $this
    ->drupalCreateUser([
    'administer smsframework',
  ]);
  $this
    ->drupalLogin($account);
}