You are here

public function FilenameGeneratorTest::setUp in Entity Print 8.2

Overrides KernelTestBase::setUp

File

tests/src/Kernel/FilenameGeneratorTest.php, line 34

Class

FilenameGeneratorTest
@coversDefaultClass \Drupal\entity_print\FilenameGenerator @group entity_print

Namespace

Drupal\Tests\entity_print\Kernel

Code

public function setUp() : void {
  parent::setUp();
  $this
    ->installConfig([
    'system',
    'filter',
  ]);
  $this
    ->installEntitySchema('node');
  $this
    ->installEntitySchema('user');
  $this->filenameGenerator = $this->container
    ->get('entity_print.filename_generator');
}