You are here

public function QueuerDeleteFormTest::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/QueuerDeleteFormTest.php, line 47

Class

QueuerDeleteFormTest
Tests \Drupal\purge_ui\Form\QueuerDeleteForm.

Namespace

Drupal\Tests\purge_ui\Functional\Form

Code

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