protected function SmsFrameworkUserActiveHoursServiceTest::setUp in SMS Framework 2.1.x
Same name and namespace in other branches
- 8 modules/sms_user/tests/src/Kernel/SmsFrameworkUserActiveHoursServiceTest.php \Drupal\Tests\sms_user\Kernel\SmsFrameworkUserActiveHoursServiceTest::setUp()
- 2.x modules/sms_user/tests/src/Kernel/SmsFrameworkUserActiveHoursServiceTest.php \Drupal\Tests\sms_user\Kernel\SmsFrameworkUserActiveHoursServiceTest::setUp()
Overrides SmsFrameworkKernelBase::setUp
File
- modules/
sms_user/ tests/ src/ Kernel/ SmsFrameworkUserActiveHoursServiceTest.php, line 51
Class
- SmsFrameworkUserActiveHoursServiceTest
- Tests active hours service.
Namespace
Drupal\Tests\sms_user\KernelCode
protected function setUp() {
parent::setUp();
$this->activeHoursService = $this->container
->get('sms_user.active_hours');
$this->smsProvider = $this->container
->get('sms.provider');
$this
->installEntitySchema('user');
$this
->installEntitySchema('sms');
}