You are here

protected function SmsFrameworkSettingsTest::setUp in SMS Framework 2.1.x

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

Overrides SmsFrameworkBrowserTestBase::setUp

File

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

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);
}