protected function ImageTest::setUp in Commerce Migrate 3.1.x
Same name in this branch
- 3.1.x modules/csv_example/tests/src/Kernel/Migrate/ImageTest.php \Drupal\Tests\commerce_migrate_csv_example\Kernel\Migrate\ImageTest::setUp()
- 3.1.x modules/magento/tests/src/Kernel/Migrate/magento2/ImageTest.php \Drupal\Tests\commerce_migrate_magento\Kernel\Migrate\magento2\ImageTest::setUp()
Same name and namespace in other branches
- 8.2 modules/csv_example/tests/src/Kernel/Migrate/ImageTest.php \Drupal\Tests\commerce_migrate_csv_example\Kernel\Migrate\ImageTest::setUp()
- 3.0.x modules/csv_example/tests/src/Kernel/Migrate/ImageTest.php \Drupal\Tests\commerce_migrate_csv_example\Kernel\Migrate\ImageTest::setUp()
Overrides CsvTestBase::setUp
File
- modules/
csv_example/ tests/ src/ Kernel/ Migrate/ ImageTest.php, line 49
Class
- ImageTest
- Tests Product migration.
Namespace
Drupal\Tests\commerce_migrate_csv_example\Kernel\MigrateCode
protected function setUp() : void {
parent::setUp();
$this->fs = \Drupal::service('file_system');
$this
->installEntitySchema('user');
// Copy the source files.
$this
->fileMigrationSetup(__DIR__ . '/../../../fixtures/images');
$this
->executeMigration('csv_example_image');
}