public function SmsFrameworkUserSettingsTest::testAccountRegistrationReplyTokens in SMS Framework 8
Same name and namespace in other branches
- 2.x modules/sms_user/tests/src/Functional/SmsFrameworkUserSettingsTest.php \Drupal\Tests\sms_user\Functional\SmsFrameworkUserSettingsTest::testAccountRegistrationReplyTokens()
- 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 135
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:*]');
}