diff --git a/core/modules/content_translation/src/Tests/ContentTranslationEnableTest.php b/core/modules/content_translation/src/Tests/ContentTranslationEnableTest.php index 5590854..9af8698 100644 --- a/core/modules/content_translation/src/Tests/ContentTranslationEnableTest.php +++ b/core/modules/content_translation/src/Tests/ContentTranslationEnableTest.php @@ -32,12 +32,12 @@ public function testEnable() { 'modules[Multilingual][content_translation][enable]' => TRUE, 'modules[Multilingual][language][enable]' => TRUE, ]; - $this->drupalPostForm('admin/modules', $edit, 'Install'); + $this->drupalPostForm('admin/modules', $edit, t('Install')); // No pending updates should be available. $this->drupalGet('admin/reports/status'); $requirement_value = $this->cssSelect("tr.system-status-report__entry th:contains('Entity/field definitions') + td"); - $this->assertEqual('Up to date', trim((string) $requirement_value[0])); + $this->assertEqual(t('Up to date'), trim((string) $requirement_value[0])); // Enable content translation on entity types that have will have a // content_translation_uid. @@ -47,12 +47,12 @@ public function testEnable() { 'entity_types[entity_test_mul]' => TRUE, 'settings[entity_test_mul][entity_test_mul][translatable]' => TRUE, ]; - $this->drupalPostForm('admin/config/regional/content-language', $edit, 'Save configuration'); + $this->drupalPostForm('admin/config/regional/content-language', $edit, t('Save configuration')); // No pending updates should be available. $this->drupalGet('admin/reports/status'); $requirement_value = $this->cssSelect("tr.system-status-report__entry th:contains('Entity/field definitions') + td"); - $this->assertEqual('Up to date', trim((string) $requirement_value[0])); + $this->assertEqual(t('Up to date'), trim((string) $requirement_value[0])); } }