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