public function RisEncodeTest::setUp in Bibliography & Citation 8
Same name and namespace in other branches
- 2.0.x modules/bibcite_ris/tests/src/Kernel/RisEncodeTest.php \Drupal\Tests\bibcite_ris\Kernel\RisEncodeTest::setUp()
Overrides FormatEncoderTestBase::setUp
File
- modules/
bibcite_ris/ tests/ src/ Kernel/ RisEncodeTest.php, line 31
Class
- RisEncodeTest
- @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->encodedExtension = 'ris';
$this->resultDir = __DIR__ . '/../../data/encoded';
$this->inputDir = __DIR__ . '/../../data/decoded';
}