You are here

protected function SmsFrameworkGatewayPluginTest::setUp in SMS Framework 8

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

Overrides SmsFrameworkKernelBase::setUp

File

tests/src/Kernel/SmsFrameworkGatewayPluginTest.php, line 26

Class

SmsFrameworkGatewayPluginTest
Tests SMS Framework gateway plugins.

Namespace

Drupal\Tests\sms\Kernel

Code

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