function ContentTranslationSettingsTest::testNonTranslatableTranslationSettingsUI in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/content_translation/src/Tests/ContentTranslationSettingsTest.php \Drupal\content_translation\Tests\ContentTranslationSettingsTest::testNonTranslatableTranslationSettingsUI()
Tests the translatable settings checkbox for untranslatable entities.
File
- core/
modules/ content_translation/ src/ Tests/ ContentTranslationSettingsTest.php, line 288 - Contains \Drupal\content_translation\Tests\ContentTranslationSettingsTest.
Class
- ContentTranslationSettingsTest
- Tests the content translation settings UI.
Namespace
Drupal\content_translation\TestsCode
function testNonTranslatableTranslationSettingsUI() {
$this
->drupalGet('admin/config/regional/content-language');
$this
->assertNoField('settings[entity_test][entity_test][translatable]');
}