You are here

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

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

Overrides FormatEncoderTestBase::setUp

File

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

Class

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