You are here

public function Endnote8DecodeTest::setUp in Bibliography & Citation 2.0.x

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

Overrides FormatDecoderTestBase::setUp

File

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

Class

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