You are here

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

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

Overrides SmsFrameworkBrowserTestBase::setUp

File

modules/sms_user/tests/src/Functional/SmsFrameworkUserMenuLinksTest.php, line 31

Class

SmsFrameworkUserMenuLinksTest
Tests dynamically created SMS User menu links.

Namespace

Drupal\Tests\sms_user\Functional

Code

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