Ejemplo n.º 1
0
 /**
  * Creates a test subject term, with translation.
  */
 protected function setUpTerm()
 {
     $this->term = $this->createTerm($this->vocabulary, array('name' => $this->baseTagName, 'langcode' => $this->baseLangcode));
     $this->term->addTranslation($this->translateToLangcode, array('name' => $this->translatedTagName));
     $this->term->save();
 }