You are here

public function SmsFrameworkWebTest::testGatewaysList in SMS Framework 7

Tests that the correct gateways list is obtained.

File

tests/sms.module.test, line 30
Contains tests for the functions in sms.module and core sms framework.

Class

SmsFrameworkWebTest
Provides integration tests for the SMS Framework.

Code

public function testGatewaysList() {
  $this
    ->assertEqual(array(
    'log' => t('Log only'),
    'test' => t('For testing'),
  ), sms_gateways('names'));
}