You are here

public function ImportQueueItemTest::provideStatusItems in Acquia Content Hub 8

Provides a series of queue items with dependencies.

Return value

array An array of queue items with other data.

File

tests/src/Unit/QueueItem/ImportQueueItemTest.php, line 164

Class

ImportQueueItemTest
PHPUnit test for the ImportQueueItem.

Namespace

Drupal\Tests\acquia_contenthub\Unit\QueueItem

Code

public function provideStatusItems() {
  $data = [];
  $data[] = [
    new ImportQueueItem('00000000-0000-0000-0000-000000000000', TRUE, TRUE, 0),
    0,
  ];
  $data[] = [
    new ImportQueueItem('00000000-0000-0000-0000-000000000000', TRUE, TRUE, 1),
    1,
  ];
  return $data;
}