protected function CsvTestBase::setUp in Commerce Migrate 3.1.x
Same name and namespace in other branches
- 8.2 tests/src/Kernel/CsvTestBase.php \Drupal\Tests\commerce_migrate\Kernel\CsvTestBase::setUp()
- 3.0.x tests/src/Kernel/CsvTestBase.php \Drupal\Tests\commerce_migrate\Kernel\CsvTestBase::setUp()
Overrides MigrateTestBase::setUp
26 calls to CsvTestBase::setUp()
- AttributeValueTest::setUp in modules/
csv_example/ tests/ src/ Kernel/ Migrate/ AttributeValueTest.php - ImageTest::setUp in modules/
csv_example/ tests/ src/ Kernel/ Migrate/ ImageTest.php - ImageTest::setUp in modules/
magento/ tests/ src/ Kernel/ Migrate/ magento2/ ImageTest.php - ProductAttributeTest::setUp in modules/
magento/ tests/ src/ Kernel/ Migrate/ magento2/ ProductAttributeTest.php - ProductAttributeValueTest::setUp in modules/
magento/ tests/ src/ Kernel/ Migrate/ magento2/ ProductAttributeValueTest.php
26 methods override CsvTestBase::setUp()
- AttributeValueTest::setUp in modules/
csv_example/ tests/ src/ Kernel/ Migrate/ AttributeValueTest.php - ImageTest::setUp in modules/
csv_example/ tests/ src/ Kernel/ Migrate/ ImageTest.php - ImageTest::setUp in modules/
magento/ tests/ src/ Kernel/ Migrate/ magento2/ ImageTest.php - ProductAttributeTest::setUp in modules/
magento/ tests/ src/ Kernel/ Migrate/ magento2/ ProductAttributeTest.php - ProductAttributeValueTest::setUp in modules/
magento/ tests/ src/ Kernel/ Migrate/ magento2/ ProductAttributeValueTest.php
File
- tests/
src/ Kernel/ CsvTestBase.php, line 62
Class
- CsvTestBase
- Test base for migrations tests with CSV source file.
Namespace
Drupal\Tests\commerce_migrate\KernelCode
protected function setUp() : void {
KernelTestBase::setUp();
// Setup a public file directory for all migration source files.
$this->fs = $this->container
->get('file_system');
$this
->config('system.file')
->set('default_scheme', 'public')
->save();
$this
->loadFixture($this
->getFixtureFilePath());
}