protected function SmsFrameworkPhoneNumberAdminTest::setUp in SMS Framework 8
Same name in this branch
- 8 tests/src/Functional/SmsFrameworkPhoneNumberAdminTest.php \Drupal\Tests\sms\Functional\SmsFrameworkPhoneNumberAdminTest::setUp()
- 8 tests/src/FunctionalJavascript/SmsFrameworkPhoneNumberAdminTest.php \Drupal\Tests\sms\FunctionalJavascript\SmsFrameworkPhoneNumberAdminTest::setUp()
Same name and namespace in other branches
- 2.x tests/src/Functional/SmsFrameworkPhoneNumberAdminTest.php \Drupal\Tests\sms\Functional\SmsFrameworkPhoneNumberAdminTest::setUp()
- 2.1.x tests/src/Functional/SmsFrameworkPhoneNumberAdminTest.php \Drupal\Tests\sms\Functional\SmsFrameworkPhoneNumberAdminTest::setUp()
Overrides SmsFrameworkBrowserTestBase::setUp
File
- tests/
src/ Functional/ SmsFrameworkPhoneNumberAdminTest.php, line 31
Class
- SmsFrameworkPhoneNumberAdminTest
- Tests phone number administration user interface.
Namespace
Drupal\Tests\sms\FunctionalCode
protected function setUp() {
parent::setUp();
$this->entityTypeManager = $this->container
->get('entity_type.manager');
$this
->drupalPlaceBlock('page_title_block');
$this
->drupalPlaceBlock('local_tasks_block');
$this
->drupalPlaceBlock('local_actions_block');
$account = $this
->drupalCreateUser([
'administer smsframework',
]);
$this
->drupalLogin($account);
}