You are here

public function RisDecodeTest::setUp in Bibliography & Citation 8

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

Overrides FormatDecoderTestBase::setUp

File

modules/bibcite_ris/tests/src/Kernel/RisDecodeTest.php, line 31

Class

RisDecodeTest
@coversDefaultClass \Drupal\bibcite_ris\Encoder\RISEncoder @group bibcite

Namespace

Drupal\Tests\bibcite_ris\Kernel

Code

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