You are here

public function ImportQueueItemTest::provideDependencyItems in Acquia Content Hub 8

Provides a series of queue items with dependencies.

Return value

array An array with queue items with dependencies.

File

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

Class

ImportQueueItemTest
PHPUnit test for the ImportQueueItem.

Namespace

Drupal\Tests\acquia_contenthub\Unit\QueueItem

Code

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