You are here

public function SmsFrameworkUserSettingsTest::testAccountRegistrationReplyTokens in SMS Framework 2.x

Same name and namespace in other branches
  1. 8 modules/sms_user/tests/src/Functional/SmsFrameworkUserSettingsTest.php \Drupal\Tests\sms_user\Functional\SmsFrameworkUserSettingsTest::testAccountRegistrationReplyTokens()
  2. 2.1.x modules/sms_user/tests/src/Functional/SmsFrameworkUserSettingsTest.php \Drupal\Tests\sms_user\Functional\SmsFrameworkUserSettingsTest::testAccountRegistrationReplyTokens()

Test fallback token list for when token.module not available.

File

modules/sms_user/tests/src/Functional/SmsFrameworkUserSettingsTest.php, line 142

Class

SmsFrameworkUserSettingsTest
Tests SMS User settings user interface.

Namespace

Drupal\Tests\sms_user\Functional

Code

public function testAccountRegistrationReplyTokens() {
  $this
    ->drupalGet(Url::fromRoute('sms_user.options'));
  $this
    ->assertResponse(200);
  $this
    ->assertRaw('Available tokens include: [sms-message:*] [user:*]');
}