You are here

public function Endnote8EncodeTest::setUp in Bibliography & Citation 8

Same name and namespace in other branches
  1. 2.0.x modules/bibcite_endnote/tests/src/Kernel/Endnote8EncodeTest.php \Drupal\Tests\bibcite_endnote\Kernel\Endnote8EncodeTest::setUp()

Overrides FormatEncoderTestBase::setUp

File

modules/bibcite_endnote/tests/src/Kernel/Endnote8EncodeTest.php, line 31

Class

Endnote8EncodeTest
@coversDefaultClass \Drupal\bibcite_endnote\Encoder\EndnoteEncoder @group bibcite

Namespace

Drupal\Tests\bibcite_endnote\Kernel

Code

public function setUp() {
  parent::setUp();
  $this
    ->installConfig([
    'system',
    'user',
    'serialization',
    'bibcite',
    'bibcite_entity',
    'bibcite_endnote',
  ]);
  $this->encoder = new EndnoteEncoder();
  $this->format = 'endnote8';
  $this->encodedExtension = 'xml';
  $this->inputDir = __DIR__ . '/../../data/decoded/en8';
  $this->resultDir = __DIR__ . '/../../data/encoded/en8';
}