You are here

protected function WebformEntityPrintFunctionalTestBase::setUp in Webform 6.x

Same name and namespace in other branches
  1. 8.5 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() {
  parent::setUp();

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