public function MigratePrivateFileTest::testFileMigration in Drupal 9
Same name and namespace in other branches
- 8 core/modules/file/tests/src/Kernel/Migrate/d7/MigratePrivateFileTest.php \Drupal\Tests\file\Kernel\Migrate\d7\MigratePrivateFileTest::testFileMigration()
Tests that all expected files are migrated.
File
- core/
modules/ file/ tests/ src/ Kernel/ Migrate/ d7/ MigratePrivateFileTest.php, line 55
Class
- MigratePrivateFileTest
- Tests private files migration.
Namespace
Drupal\Tests\file\Kernel\Migrate\d7Code
public function testFileMigration() {
$this
->assertEntity(3, 'Babylon5.txt', 'private://Babylon5.txt', 'text/plain', '3', '1486104045', '1486104045', '1');
}