You are here

public function TxBufferTest::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 KernelTestBase::setUp

File

tests/src/Kernel/Queue/TxBufferTest.php, line 25

Class

TxBufferTest
Tests \Drupal\purge\Tests\Queue\TxBufferTest.

Namespace

Drupal\Tests\purge\Kernel\Queue

Code

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