You are here

public function Endnote7DecodeTest::setUp in Bibliography & Citation 8

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

Overrides FormatDecoderTestBase::setUp

File

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

Class

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