Overrides ContentEntityTestBase::setUp
public function setUp() : void {
parent::setUp();
$this
->installEntitySchema('content_moderation_state');
$this
->installEntitySchema('user');
$this
->installConfig([
'content_moderation',
'filter',
]);
$this
->installEntitySchema('entity_test_mulrev');
ConfigurableLanguage::createFromLangcode('es')
->save();
$this->workflow = $this
->createEditorialWorkflow();
$this->workflow
->getTypePlugin()
->addEntityTypeAndBundle($this->entityTypeId, $this->entityTypeId);
$this->workflow
->save();
$this->container
->get('content_translation.manager')
->setEnabled($this->entityTypeId, $this->entityTypeId, TRUE);
}