public function FileImportExportTest::testFileImportExportNoCopyDataProvider in Acquia Content Hub 8.2
Data provider for testFileImportExportNoCopy.
Return value
array Test data sets.
File
- tests/
src/ Kernel/ FileImportExportTest.php, line 200
Class
- FileImportExportTest
- Tests that files are properly exported and imported.
Namespace
Drupal\Tests\acquia_contenthub\KernelCode
public function testFileImportExportNoCopyDataProvider() {
$export_uuid_files = [
'660e1f94-2422-4ccd-af03-6c19abfe62f5',
'211da662-acec-4d6c-87f6-c1d7b77a098e',
'5ccc339c-2225-4354-9ae5-82e1244ca434',
];
return [
[
2,
[
[
'type' => 'file',
'uuid' => $export_uuid_files[0],
],
],
'file',
$export_uuid_files[0],
],
[
3,
[
[
'type' => 'file',
'uuid' => $export_uuid_files[1],
],
],
'file',
$export_uuid_files[1],
],
[
4,
[
[
'type' => 'file',
'uuid' => $export_uuid_files[2],
],
],
'file',
$export_uuid_files[2],
],
];
}