You are here

public function PurgerDeleteFormTest::setUp in Purge 8.3

Set up the test object.

Parameters

bool $switch_to_memory_queue: Whether to switch the default queue to the memory backend or not.

Overrides FormTestBase::setUp

File

modules/purge_ui/tests/src/Functional/Form/PurgerDeleteFormTest.php, line 47

Class

PurgerDeleteFormTest
Tests \Drupal\purge_ui\Form\PurgerDeleteForm.

Namespace

Drupal\Tests\purge_ui\Functional\Form

Code

public function setUp($switch_to_memory_queue = TRUE) : void {
  parent::setUp($switch_to_memory_queue);
  $this
    ->initializePurgersService([
    'a',
  ]);
}