You are here

FillPdfKernelTestBase.php in FillPDF 8.4

Same filename and directory in other branches
  1. 5.0.x tests/src/Kernel/FillPdfKernelTestBase.php

File

tests/src/Kernel/FillPdfKernelTestBase.php
View source
<?php

namespace Drupal\Tests\fillpdf\Kernel;

use Drupal\KernelTests\Core\Entity\EntityKernelTestBase;

/**
 * Base class that can be inherited by FillPDF tests.
 */
abstract class FillPdfKernelTestBase extends EntityKernelTestBase {

  /**
   * Modules to enable.
   *
   * @var array
   */
  public static $modules = [
    'file',
    'link',
    'token',
    'options',
    'views',
    'serialization',
    'options',
    'fillpdf',
    'fillpdf_test',
  ];

  /**
   * {@inheritdoc}
   */
  protected function setUp() {
    parent::setUp();
    $this
      ->installEntitySchema('fillpdf_form');
    $this
      ->installEntitySchema('fillpdf_form_field');
    $this
      ->installConfig([
      'fillpdf',
    ]);
  }

}

Classes

Namesort descending Description
FillPdfKernelTestBase Base class that can be inherited by FillPDF tests.