protected function SmsFrameworkPhoneNumberWidgetTest::setUp in SMS Framework 8
Same name and namespace in other branches
- 2.x tests/src/Functional/SmsFrameworkPhoneNumberWidgetTest.php \Drupal\Tests\sms\Functional\SmsFrameworkPhoneNumberWidgetTest::setUp()
- 2.1.x tests/src/Functional/SmsFrameworkPhoneNumberWidgetTest.php \Drupal\Tests\sms\Functional\SmsFrameworkPhoneNumberWidgetTest::setUp()
Overrides SmsFrameworkBrowserTestBase::setUp
File
- tests/
src/ Functional/ SmsFrameworkPhoneNumberWidgetTest.php, line 25
Class
- SmsFrameworkPhoneNumberWidgetTest
- Tests phone numbers.
Namespace
Drupal\Tests\sms\FunctionalCode
protected function setUp() {
parent::setUp();
$account = $this
->drupalCreateUser([
'sms verify phone number',
// Required to edit entity_test.
'administer entity_test content',
]);
$this
->drupalLogin($account);
}