You are here

Endnote7EncodeTest.php in Bibliography & Citation 8

Same filename and directory in other branches
  1. 2.0.x modules/bibcite_endnote/tests/src/Kernel/Endnote7EncodeTest.php

File

modules/bibcite_endnote/tests/src/Kernel/Endnote7EncodeTest.php
View source
<?php

namespace Drupal\Tests\bibcite_endnote\Kernel;

use Drupal\bibcite_endnote\Encoder\EndnoteEncoder;
use Drupal\Tests\bibcite_export\Kernel\FormatEncoderTestBase;

/**
 * @coversDefaultClass \Drupal\bibcite_endnote\Encoder\EndnoteEncoder
 * @group bibcite
 */
class Endnote7EncodeTest extends FormatEncoderTestBase {

  /**
   * Modules to install.
   *
   * @var array
   */
  public static $modules = [
    'system',
    'user',
    'serialization',
    'bibcite',
    'bibcite_entity',
    'bibcite_endnote',
  ];

  /**
   * {@inheritdoc}
   */
  public function setUp() {
    parent::setUp();
    $this
      ->installConfig([
      'system',
      'user',
      'serialization',
      'bibcite',
      'bibcite_entity',
      'bibcite_endnote',
    ]);
    $this->encoder = new EndnoteEncoder();
    $this->format = 'endnote7';
    $this->encodedExtension = 'xml';
    $this->inputDir = __DIR__ . '/../../data/decoded/en7';
    $this->resultDir = __DIR__ . '/../../data/encoded/en7';
  }

}

Classes

Namesort descending Description
Endnote7EncodeTest @coversDefaultClass \Drupal\bibcite_endnote\Encoder\EndnoteEncoder @group bibcite