protected function SmsFrameworkUserActiveHoursServiceTest::setUp in SMS Framework 8
Same name and namespace in other branches
- 2.x modules/sms_user/tests/src/Kernel/SmsFrameworkUserActiveHoursServiceTest.php \Drupal\Tests\sms_user\Kernel\SmsFrameworkUserActiveHoursServiceTest::setUp()
- 2.1.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 49
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');
}