TaggedEncodeTest.php in Bibliography & Citation 2.0.x
File
modules/bibcite_endnote/tests/src/Kernel/TaggedEncodeTest.php
View source
<?php
namespace Drupal\Tests\bibcite_endnote\Kernel;
use Drupal\bibcite_endnote\Encoder\EndnoteEncoder;
use Drupal\Tests\bibcite_export\Kernel\FormatEncoderTestBase;
class TaggedEncodeTest 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 = 'tagged';
$this->encodedExtension = 'enw';
$this->inputDir = __DIR__ . '/../../data/decoded/tg';
$this->resultDir = __DIR__ . '/../../data/encoded/tg';
}
}