BibtexCaseDecodeTest.php in Bibliography & Citation 8
File
modules/bibcite_bibtex/tests/src/Kernel/BibtexCaseDecodeTest.php
View source
<?php
namespace Drupal\Tests\bibcite_bibtex\Kernel;
use Drupal\bibcite_bibtex\Encoder\BibtexEncoder;
use Drupal\Tests\bibcite_import\Kernel\FormatDecoderTestBase;
class BibtexCaseDecodeTest 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/case';
$this->inputDir = __DIR__ . '/../../data/encoded/case';
}
}