public function MarcDecodeTest::setUp in Bibliography & Citation 2.0.x
Same name and namespace in other branches
- 8 modules/bibcite_marc/tests/src/Kernel/MarcDecodeTest.php \Drupal\Tests\bibcite_marc\Kernel\MarcDecodeTest::setUp()
Overrides FormatDecoderTestBase::setUp
File
- modules/
bibcite_marc/ tests/ src/ Kernel/ MarcDecodeTest.php, line 31
Class
- MarcDecodeTest
- @coversDefaultClass \Drupal\bibcite_marc\Encoder\MarcEncoder @group bibcite
Namespace
Drupal\Tests\bibcite_marc\KernelCode
public function setUp() {
parent::setUp();
$this
->installConfig([
'system',
'user',
'serialization',
'bibcite',
'bibcite_entity',
'bibcite_marc',
]);
$this->encoder = new MarcEncoder();
$this->format = 'marc';
$this->resultDir = __DIR__ . '/../../data/decoded';
$this->inputDir = __DIR__ . '/../../data/encoded';
}