You are here

protected function WebformEntityPrintFunctionalTestBase::setUp in Webform 8.5

Same name and namespace in other branches
  1. 6.x modules/webform_entity_print/tests/src/Functional/WebformEntityPrintFunctionalTestBase.php \Drupal\Tests\webform_entity_print\Functional\WebformEntityPrintFunctionalTestBase::setUp()

Overrides WebformBrowserTestBase::setUp

File

modules/webform_entity_print/tests/src/Functional/WebformEntityPrintFunctionalTestBase.php, line 24

Class

WebformEntityPrintFunctionalTestBase
Webform entity print test base.

Namespace

Drupal\Tests\webform_entity_print\Functional

Code

protected function setUp() {
  if (floatval(\Drupal::VERSION) >= 9) {
    $this
      ->markTestSkipped('Issue #3110478: [Webform 8.x-6.x] Track the D9 readiness state of the Webform module\'s (optional) dependencies');
  }
  parent::setUp();

  // Use test print engine.
  \Drupal::configFactory()
    ->getEditable('entity_print.settings')
    ->set('print_engines.pdf_engine', 'testprintengine')
    ->save();
}