You are here

protected function SmsFrameworkDeliveryReportUpdateTest::setUp in SMS Framework 8

Same name and namespace in other branches
  1. 2.x tests/src/Kernel/SmsFrameworkDeliveryReportUpdateTest.php \Drupal\Tests\sms\Kernel\SmsFrameworkDeliveryReportUpdateTest::setUp()
  2. 2.1.x tests/src/Kernel/SmsFrameworkDeliveryReportUpdateTest.php \Drupal\Tests\sms\Kernel\SmsFrameworkDeliveryReportUpdateTest::setUp()

Overrides KernelTestBase::setUp

File

tests/src/Kernel/SmsFrameworkDeliveryReportUpdateTest.php, line 45

Class

SmsFrameworkDeliveryReportUpdateTest
Tests the update of SMS Delivery report entities.

Namespace

Drupal\Tests\sms\Kernel

Code

protected function setUp() {
  parent::setUp();
  $this->httpClient = $this->container
    ->get('http_client');
  $this->defaultSmsProvider = $this->container
    ->get('sms.provider');
  $this
    ->installEntitySchema('sms');
  $this
    ->installEntitySchema('sms_result');
  $this
    ->installEntitySchema('sms_report');
  $this
    ->installEntitySchema('user');
}