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/FunctionalJavascript/SmsFrameworkPhoneNumberAdminTest.php \Drupal\Tests\sms\FunctionalJavascript\SmsFrameworkPhoneNumberAdminTest::setUp()
- 2.1.x tests/src/FunctionalJavascript/SmsFrameworkPhoneNumberAdminTest.php \Drupal\Tests\sms\FunctionalJavascript\SmsFrameworkPhoneNumberAdminTest::setUp()
Overrides BrowserTestBase::setUp
File
- tests/
src/ FunctionalJavascript/ SmsFrameworkPhoneNumberAdminTest.php, line 33
Class
- SmsFrameworkPhoneNumberAdminTest
- Tests phone number administration user interface.
Namespace
Drupal\Tests\sms\FunctionalJavascriptCode
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);
}