public function MigrateFileTest::testFileMigration in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/file/src/Tests/Migrate/d7/MigrateFileTest.php \Drupal\file\Tests\Migrate\d7\MigrateFileTest::testFileMigration()
Tests that all expected files are migrated.
File
- core/
modules/ file/ src/ Tests/ Migrate/ d7/ MigrateFileTest.php, line 92 - Contains \Drupal\file\Tests\Migrate\d7\MigrateFileTest.
Class
- MigrateFileTest
- Migrates all files in the file_managed table.
Namespace
Drupal\file\Tests\Migrate\d7Code
public function testFileMigration() {
$this
->assertEntity(1, 'cube.jpeg', 'public://cube.jpeg', 'image/jpeg', '3620', '1421727515', '1421727515', '1');
}