You are here

TaggedDecodeTest.php in Bibliography & Citation 8

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

File

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

namespace Drupal\Tests\bibcite_endnote\Kernel;

use Drupal\bibcite_endnote\Encoder\EndnoteEncoder;
use Drupal\Tests\bibcite_import\Kernel\FormatDecoderTestBase;

/**
 * @coversDefaultClass \Drupal\bibcite_endnote\Encoder\EndnoteEncoder
 * @group bibcite
 */
class TaggedDecodeTest extends FormatDecoderTestBase {

  /**
   * 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 = 'tagged';
    $this->resultDir = __DIR__ . '/../../data/decoded/tg';
    $this->inputDir = __DIR__ . '/../../data/encoded/tg';
  }

}

Classes

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