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