You are here

public function PluginTestBase::setUp in Purge 8.3

Same name in this branch
  1. 8.3 tests/src/Kernel/Queue/PluginTestBase.php \Drupal\Tests\purge\Kernel\Queue\PluginTestBase::setUp()
  2. 8.3 tests/src/Kernel/Invalidation/PluginTestBase.php \Drupal\Tests\purge\Kernel\Invalidation\PluginTestBase::setUp()

Set up the test.

Overrides PluginManagerTestTrait::setUp

1 call to PluginTestBase::setUp()
FileQueueTest::setUp in tests/src/Kernel/Queue/FileQueueTest.php
Set up the test.
1 method overrides PluginTestBase::setUp()
FileQueueTest::setUp in tests/src/Kernel/Queue/FileQueueTest.php
Set up the test.

File

tests/src/Kernel/Queue/PluginTestBase.php, line 37

Class

PluginTestBase
Provides a abstract test class to aid thorough tests for queue plugins.

Namespace

Drupal\Tests\purge\Kernel\Queue

Code

public function setUp($switch_to_memory_queue = TRUE) : void {
  parent::setUp($switch_to_memory_queue);
  $this
    ->setUpQueuePlugin();
}