diff --git a/core/modules/content_translation/src/Tests/ContentTranslationSettingsTest.php b/core/modules/content_translation/src/Tests/ContentTranslationSettingsTest.php index f5f3c89..1f09a21 100644 --- a/core/modules/content_translation/src/Tests/ContentTranslationSettingsTest.php +++ b/core/modules/content_translation/src/Tests/ContentTranslationSettingsTest.php @@ -257,6 +257,14 @@ function testFieldTranslatableSettingsUI() { } /** + * Tests the translatable settings checkbox for untranslatable entities. + */ + function testNonTranslatableTranslationSettingsUI() { + $this->drupalGet('admin/config/regional/content-language'); + $this->assertNoField('settings[entity_test][entity_test][translatable]'); + } + + /** * Returns the entity manager. * * @return \Drupal\Core\Entity\EntityManagerInterface