Overrides TMGMTKernelTestBase::setUp
public function setUp() : void {
parent::setUp();
// Add the languages.
$this
->installConfig([
'language',
]);
$this
->installEntitySchema('tmgmt_job');
$this
->installEntitySchema('tmgmt_job_item');
$this
->installEntitySchema('tmgmt_message');
$this
->installSchema('locale', array(
'locales_location',
'locales_source',
'locales_target',
));
\Drupal::service('router.builder')
->rebuild();
// Install webform default configuration.
$this
->installSchema('webform', [
'webform',
]);
$this
->installConfig([
'webform',
]);
tmgmt_translator_auto_create(\Drupal::service('plugin.manager.tmgmt.translator')
->getDefinition('test_translator'));
}