public function ServiceTest::setUp in Purge 8.3
Same name in this branch
- 8.3 tests/src/Kernel/Processor/ServiceTest.php \Drupal\Tests\purge\Kernel\Processor\ServiceTest::setUp()
- 8.3 tests/src/Kernel/Queue/ServiceTest.php \Drupal\Tests\purge\Kernel\Queue\ServiceTest::setUp()
- 8.3 tests/src/Kernel/Queuer/ServiceTest.php \Drupal\Tests\purge\Kernel\Queuer\ServiceTest::setUp()
- 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/ Queue/ ServiceTest.php, line 41
Class
Namespace
Drupal\Tests\purge\Kernel\QueueCode
public function setUp($switch_to_memory_queue = TRUE) : void {
parent::setUp($switch_to_memory_queue);
$this
->initializeQueuersService();
$this->queuer = $this->purgeQueuers
->get('a');
$this->service
->emptyQueue();
}