You are here

public function ClientCDFTest::providerTestSuccessiveClientGeneration in Acquia Content Hub 8.2

Provides sample data for settings and client tests.

Return value

array Settings.

File

tests/src/Kernel/ClientCDFTest.php, line 182

Class

ClientCDFTest
Tests the client cdf.

Namespace

Drupal\Tests\acquia_contenthub\Kernel

Code

public function providerTestSuccessiveClientGeneration() {
  $time = date('c');
  return [
    [
      [
        [
          'entity_uuid' => '3d5ddb2b-b8dd-42af-be20-35d409eb473f',
          'entity_type' => 'drupal8_content_entity',
          'entity_id' => '1',
          'status' => 'imported',
          'first_imported' => $time,
          'last_imported' => $time,
          'hash' => '111',
        ],
      ],
      [
        [
          'entity_type' => 'drupal8_content_entity',
          'entity_id' => '1',
          'entity_uuid' => '4d5ddb2b-b8dd-42af-be20-35d409eb473f',
          'status' => 'confirmed',
          'created' => $time,
          'modified' => $time,
          'hash' => '111',
        ],
      ],
    ],
  ];
}