You are here

protected function SmsFrameworkGatewayPluginTest::setUp in SMS Framework 2.x

Same name and namespace in other branches
  1. 8 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 28

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');
}