Endnote7EncodeTest.php in Bibliography & Citation 8
File
modules/bibcite_endnote/tests/src/Kernel/Endnote7EncodeTest.php
View source
<?php
namespace Drupal\Tests\bibcite_endnote\Kernel;
use Drupal\bibcite_endnote\Encoder\EndnoteEncoder;
use Drupal\Tests\bibcite_export\Kernel\FormatEncoderTestBase;
class Endnote7EncodeTest extends FormatEncoderTestBase {
public static $modules = [
'system',
'user',
'serialization',
'bibcite',
'bibcite_entity',
'bibcite_endnote',
];
public function setUp() {
parent::setUp();
$this
->installConfig([
'system',
'user',
'serialization',
'bibcite',
'bibcite_entity',
'bibcite_endnote',
]);
$this->encoder = new EndnoteEncoder();
$this->format = 'endnote7';
$this->encodedExtension = 'xml';
$this->inputDir = __DIR__ . '/../../data/decoded/en7';
$this->resultDir = __DIR__ . '/../../data/encoded/en7';
}
}