public function SmsFrameworkUserSettingsTest::testAccountRegistrationReplyTokens in SMS Framework 2.1.x
Same name and namespace in other branches
- 8 modules/sms_user/tests/src/Functional/SmsFrameworkUserSettingsTest.php \Drupal\Tests\sms_user\Functional\SmsFrameworkUserSettingsTest::testAccountRegistrationReplyTokens()
- 2.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\FunctionalCode
public function testAccountRegistrationReplyTokens() {
$this
->drupalGet(Url::fromRoute('sms_user.options'));
$this
->assertResponse(200);
$this
->assertRaw('Available tokens include: [sms-message:*] [user:*]');
}