diff --git a/tests/title.test b/tests/title.test index 47d6b41..07ce44f 100644 --- a/tests/title.test +++ b/tests/title.test @@ -394,6 +394,12 @@ class TitleTranslationTestCase extends DrupalWebTestCase { $this->assertEqual($term->name, $original_values['name'], t('Taxonomy term name correctly stored.')); $this->assertEqual($term->description, $original_values['description'], t('Taxonomy term description correctly stored.')); + // Check that legacy fields are properly synchronized on entity load. + $term = $this->termLoad($term->tid, $translation_langcode); + foreach ($translated_values as $name => $value) { + $this->assertEqual($term->{$name}, $value, t('Legacy field "@field" is properly synchronized when term is loaded in translation language.', array('@field' => $name))); + } + // Updated the taxonomy term translation and check that both the original // values and the translations were correctly stored. $translated_values = array(