You are here

public function UserImportUpdateExportTest::testUserImportExport in Acquia Content Hub 8.2

Tests "user" Drupal entity.

@dataProvider userImportExportDataProvider

Parameters

int $delta: Fixture delta.

int $update_delta: "Update" fixture delta.

array $validate_data: Data.

string $export_type: Exported entity type.

string $export_uuid: Entity UUID.

bool $compare_exports: Runs extended fixture/export comparison. FALSE for mismatched uuids.

Throws

\Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException

\Drupal\Component\Plugin\Exception\PluginNotFoundException

\Drupal\Core\Entity\EntityStorageException

File

tests/src/Kernel/UserImportUpdateExportTest.php, line 109

Class

UserImportUpdateExportTest
Tests user export, update, and import.

Namespace

Drupal\Tests\acquia_contenthub\Kernel

Code

public function testUserImportExport($delta, $update_delta, array $validate_data, $export_type, $export_uuid, $compare_exports = TRUE) {
  parent::contentEntityImportExport($delta, $validate_data, $export_type, $export_uuid, $compare_exports);
  parent::contentEntityImportExport($update_delta, $validate_data, $export_type, $export_uuid, $compare_exports);
}