diff --git a/core/modules/content_translation/src/Tests/ContentTranslationSettingsTest.php b/core/modules/content_translation/src/Tests/ContentTranslationSettingsTest.php index fa370ef..3c30116 100644 --- a/core/modules/content_translation/src/Tests/ContentTranslationSettingsTest.php +++ b/core/modules/content_translation/src/Tests/ContentTranslationSettingsTest.php @@ -96,9 +96,9 @@ function testSettingsUI() { 'settings[comment][comment_article][fields][comment_body]' => TRUE, ); $this->assertSettings('comment', 'comment_article', TRUE, $edit); - $definition = $this->entityManager()->getFieldDefinitions('comment', 'node__comment_article')['comment_body']; + $definition = $this->entityManager()->getFieldDefinitions('comment', 'comment_article')['comment_body']; $this->assertTrue($definition->isTranslatable(), 'Article comment body is translatable.'); - $definition = $this->entityManager()->getFieldDefinitions('comment', 'node__comment_page')['comment_body']; + $definition = $this->entityManager()->getFieldDefinitions('comment', 'comment')['comment_body']; $this->assertFalse($definition->isTranslatable(), 'Page comment body is not translatable.'); // Test that translation can be enabled for base fields.