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