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