You are here

public function CronTest::processQueuesTestData in Drupal 10

Same name and namespace in other branches
  1. 9 core/tests/Drupal/Tests/Core/CronTest.php \Drupal\Tests\Core\CronTest::processQueuesTestData()

Data provider for ::testProcessQueues() method.

File

core/tests/Drupal/Tests/Core/CronTest.php, line 164

Class

CronTest
Tests the Cron class.

Namespace

Drupal\Tests\Core

Code

public function processQueuesTestData() {
  return [
    [
      'Complete',
      'assertFalse',
      0,
    ],
    [
      'Exception',
      'assertTrue',
      1,
    ],
    [
      'DelayedRequeueException',
      'assertFalse',
      1,
    ],
    [
      'SuspendQueueException',
      'assertTrue',
      1,
    ],
    [
      'RequeueException',
      'assertFalse',
      0,
    ],
  ];
}