You are here

public function MediaImportExportTest::mediaImportExportDataProvider in Acquia Content Hub 8.2

Data provider for testFileImportExport.

File

tests/src/Kernel/MediaImportExportTest.php, line 90

Class

MediaImportExportTest
Tests media export and import.

Namespace

Drupal\Tests\acquia_contenthub\Kernel

Code

public function mediaImportExportDataProvider() {
  (yield [
    0,
    [
      [
        'type' => 'file',
        'uuid' => '083607fb-df43-4efb-a66c-7a44fe018a62',
      ],
    ],
    'node',
    '91c820a4-d696-4e99-8fdb-6314e66ddee6',
  ]);
  (yield [
    1,
    [
      [
        'type' => 'file',
        'uuid' => '3cd48a71-8215-4a46-806a-61fdb5cc05d5',
      ],
      [
        'type' => 'file',
        'uuid' => 'fcb8efaa-9431-4750-9703-b783b22a4a9f',
      ],
    ],
    'node',
    'd504aa35-99da-4f9a-b3d7-ac11ace97cf8',
  ]);
  (yield [
    2,
    [
      [
        'type' => 'media',
        'uuid' => '0f353016-de0f-4268-859c-9ed58a4d6f36',
      ],
    ],
    'node',
    '91c820a4-d696-4e99-8fdb-6314e66ddee6',
  ]);
}