You are here

public function ServiceTest::setUp in Purge 8.3

Same name in this branch
  1. 8.3 tests/src/Kernel/Processor/ServiceTest.php \Drupal\Tests\purge\Kernel\Processor\ServiceTest::setUp()
  2. 8.3 tests/src/Kernel/Queue/ServiceTest.php \Drupal\Tests\purge\Kernel\Queue\ServiceTest::setUp()
  3. 8.3 tests/src/Kernel/Queuer/ServiceTest.php \Drupal\Tests\purge\Kernel\Queuer\ServiceTest::setUp()
  4. 8.3 tests/src/Kernel/DiagnosticCheck/ServiceTest.php \Drupal\Tests\purge\Kernel\DiagnosticCheck\ServiceTest::setUp()

Set up the test.

Overrides ServiceTestTrait::setUp

File

tests/src/Kernel/Queuer/ServiceTest.php, line 30

Class

ServiceTest
Tests \Drupal\purge\Plugin\Purge\Queuer\QueuersService.

Namespace

Drupal\Tests\purge\Kernel\Queuer

Code

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