Overrides \Drupal\translation_entity\Tests\EntityTranslationUITest::createEntity().
Overrides EntityTranslationTestBase::createEntity
protected function createEntity($values, $langcode, $node_bundle = NULL) {
if (!isset($node_bundle)) {
$node_bundle = $this->nodeBundle;
}
$node = $this
->drupalCreateNode(array(
'type' => $node_bundle,
));
$values['nid'] = $node->nid;
$values['uid'] = $node->uid;
return parent::createEntity($values, $langcode);
}