protected function ImageTest::setUp in Commerce Migrate 3.0.x
Same name in this branch
- 3.0.x modules/csv_example/tests/src/Kernel/Migrate/ImageTest.php \Drupal\Tests\commerce_migrate_csv_example\Kernel\Migrate\ImageTest::setUp()
- 3.0.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/magento/tests/src/Kernel/Migrate/magento2/ImageTest.php \Drupal\Tests\commerce_migrate_magento\Kernel\Migrate\magento2\ImageTest::setUp()
- 3.1.x modules/magento/tests/src/Kernel/Migrate/magento2/ImageTest.php \Drupal\Tests\commerce_migrate_magento\Kernel\Migrate\magento2\ImageTest::setUp()
Overrides CsvTestBase::setUp
File
- modules/
magento/ tests/ src/ Kernel/ Migrate/ magento2/ ImageTest.php, line 42
Class
- ImageTest
- Migrate images.
Namespace
Drupal\Tests\commerce_migrate_magento\Kernel\Migrate\magento2Code
protected function setUp() {
parent::setUp();
$this->fs = \Drupal::service('file_system');
$this
->installEntitySchema('user');
// Copy the source files.
$this
->fileMigrationSetup(__DIR__ . '/../../../../fixtures/images');
$this
->executeMigration('magento2_image');
}