You are here

public function Endnote7EncodeTest::setUp in Bibliography & Citation 8

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

Overrides FormatEncoderTestBase::setUp

File

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

Class

Endnote7EncodeTest
@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 = 'endnote7';
  $this->encodedExtension = 'xml';
  $this->inputDir = __DIR__ . '/../../data/decoded/en7';
  $this->resultDir = __DIR__ . '/../../data/encoded/en7';
}