public function ImportBasicTest::setUp in Bibliography & Citation 8
Same name and namespace in other branches
- 2.0.x modules/bibcite_import/tests/src/Kernel/ImportBasicTest.php \Drupal\Tests\bibcite_import\Kernel\ImportBasicTest::setUp()
Overrides KernelTestBase::setUp
File
- modules/
bibcite_import/ tests/ src/ Kernel/ ImportBasicTest.php, line 50
Class
- ImportBasicTest
- Basic import tests.
Namespace
Drupal\Tests\bibcite_import\KernelCode
public function setUp() {
parent::setUp();
$this
->installEntitySchema('bibcite_keyword');
$this
->installEntitySchema('bibcite_contributor');
$this
->installConfig([
'system',
'user',
'serialization',
'bibcite',
'bibcite_import',
'bibcite_bibtex',
'bibcite_ris',
]);
$this->formatManager = $this->container
->get('plugin.manager.bibcite_format');
$this->serializer = $this->container
->get('serializer');
}