public function TmgmtSmartlingLogSettingsTest::testValidSettingsNotEmptyConfig in TMGMT Translator Smartling 8.3
Same name and namespace in other branches
- 8.4 modules/tmgmt_smartling_log_settings/tests/src/Functional/TmgmtSmartlingLogSettingsTest.php \Drupal\Tests\tmgmt_smartling_log_settings\Functional\TmgmtSmartlingLogSettingsTest::testValidSettingsNotEmptyConfig()
Tests the tmgmt_smartling_log_settings settings page.
File
- modules/
tmgmt_smartling_log_settings/ tests/ src/ Functional/ TmgmtSmartlingLogSettingsTest.php, line 34
Class
- TmgmtSmartlingLogSettingsTest
- Tests TmgmtSmartlingLogSettingsTest settings.
Namespace
Drupal\Tests\tmgmt_smartling_log_settings\FunctionalCode
public function testValidSettingsNotEmptyConfig() {
$this
->drupalPostForm('admin/config/development/logging', [
'tmgmt_smartling_log_settings_severity_mapping' => "smartling_api: info\r\ntmgmt_smartling: notice",
], t('Save configuration'));
$this
->assertSession()
->pageTextContains(t('The configuration options have been saved.'));
}