You are here

protected function NodePreviewTest::setUp in Entity Print 8.2

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

Overrides KernelTestBase::setUp

File

tests/src/Kernel/NodePreviewTest.php, line 32

Class

NodePreviewTest
Tests the entity print link in node preview.

Namespace

Drupal\Tests\entity_print\Kernel

Code

protected function setUp() : void {
  parent::setUp();
  set_error_handler([
    $this,
    'errorHandler',
  ]);
}