protected function GatherContentUploadTestBase::setUp in GatherContent 8.5
Overrides EntityKernelTestBase::setUp
File
- gathercontent_upload/
tests/ src/ Kernel/ GatherContentUploadTestBase.php, line 56
Class
- GatherContentUploadTestBase
- Class GatherContentUploadTestBase.
Namespace
Drupal\Tests\gathercontent_upload\KernelCode
protected function setUp() {
parent::setUp();
$this
->installSchema('node', 'node_access');
$this
->installEntitySchema('node');
$this
->installConfig([
'gathercontent_upload_test_config',
]);
$this
->installEntitySchema('file');
$this
->installSchema('file', [
'file_usage',
]);
$this
->installEntitySchema('paragraph');
$this
->installEntitySchema('taxonomy_term');
$container = \Drupal::getContainer();
$this->exporter = Exporter::create($container);
}