Overrides \Drupal\translation_entity\Tests\EntityTranslationUITest::setupBundle().
Overrides EntityTranslationTestBase::setupBundle
protected function setupBundle() {
parent::setupBundle();
// Create a vocabulary.
$this->vocabulary = entity_create('taxonomy_vocabulary', array(
'name' => $this->bundle,
'description' => $this
->randomName(),
'vid' => $this->bundle,
'langcode' => Language::LANGCODE_NOT_SPECIFIED,
'weight' => mt_rand(0, 10),
));
$this->vocabulary
->save();
}