You are here

public function MarcDecodeTest::setUp in Bibliography & Citation 8

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

Overrides FormatDecoderTestBase::setUp

File

modules/bibcite_marc/tests/src/Kernel/MarcDecodeTest.php, line 31

Class

MarcDecodeTest
@coversDefaultClass \Drupal\bibcite_marc\Encoder\MarcEncoder @group bibcite

Namespace

Drupal\Tests\bibcite_marc\Kernel

Code

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