BibtexDecodeTest.php in Bibliography & Citation 8
File
modules/bibcite_bibtex/tests/src/Kernel/BibtexDecodeTest.php
View source
<?php
namespace Drupal\Tests\bibcite_bibtex\Kernel;
use Drupal\bibcite_bibtex\Encoder\BibtexEncoder;
use Drupal\Tests\bibcite_import\Kernel\FormatDecoderTestBase;
class BibtexDecodeTest extends FormatDecoderTestBase {
public static $modules = [
'system',
'user',
'serialization',
'bibcite',
'bibcite_entity',
'bibcite_bibtex',
];
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';
}
}