You are here

public function SmsFrameworkSmsSendTest::testGatewayInstall in SMS Framework 8

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

Test that gateways are correctly discovered from installation.

See `sms.gateway.log.yml`.

File

tests/src/Kernel/SmsFrameworkSmsSendTest.php, line 44

Class

SmsFrameworkSmsSendTest
Tests sending SMS messages.

Namespace

Drupal\Tests\sms\Kernel

Code

public function testGatewayInstall() {
  $this
    ->assertEquals([
    'log',
  ], array_keys(SmsGateway::loadMultiple()));
}