You are here

public function RedirectImportExportTest::redirectImportExportDataProvider in Acquia Content Hub 8.2

Data provider for testRedirectImportExport.

Return value

array Data provider set.

File

tests/src/Kernel/RedirectImportExportTest.php, line 252

Class

RedirectImportExportTest
Tests redirect export and import.

Namespace

Drupal\Tests\acquia_contenthub\Kernel

Code

public function redirectImportExportDataProvider() {
  return [
    [
      0,
      [
        [
          'type' => 'redirect',
          'uuid' => 'a1d183ff-f1de-433c-8a75-21450a9c868b',
        ],
      ],
      'node',
      '03cf6ebe-f0b2-4217-9783-82d7125ef460',
    ],
    [
      1,
      [
        [
          'type' => 'redirect',
          'uuid' => '610bdde1-f19a-4afa-825b-d32a0147d87c',
        ],
      ],
      'node',
      '03cf6ebe-f0b2-4217-9783-82d7125ef460',
    ],
    [
      2,
      [
        [
          'type' => 'redirect',
          'uuid' => '0612f69c-5968-4b40-9c1d-48a549b56325',
        ],
      ],
      'node',
      '03cf6ebe-f0b2-4217-9783-82d7125ef460',
    ],
    [
      3,
      [
        [
          'type' => 'redirect',
          'uuid' => '73cc40e6-af4a-45d4-915d-26503d416bf2',
        ],
      ],
      'redirect',
      '73cc40e6-af4a-45d4-915d-26503d416bf2',
    ],
  ];
}