Skip to content

Commit 7ddc96c

Browse files
committed
ACP2E-1754: Store level URL rewrites are removed after product import
1 parent f00df81 commit 7ddc96c

File tree

2 files changed

+27
-1
lines changed

2 files changed

+27
-1
lines changed

dev/tests/integration/testsuite/Magento/BundleImportExport/Model/BundleTest.php

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,32 @@ public function exportImportDataProvider(): array
4848
];
4949
}
5050

51+
/**
52+
* Run import/export tests.
53+
*
54+
* @magentoAppArea adminhtml
55+
* @magentoDbIsolation enabled
56+
* @magentoAppIsolation enabled
57+
*
58+
* @param array $fixtures
59+
* @param string[] $skus
60+
* @param string[] $skippedAttributes
61+
* @return void
62+
* @dataProvider exportImportDataProvider
63+
*/
64+
public function testImportExport(array $fixtures, array $skus, array $skippedAttributes = []): void
65+
{
66+
$this->csvFile = null;
67+
$this->fixtures = $fixtures;
68+
$this->executeFixtures($fixtures);
69+
$this->modifyData($skus);
70+
$skippedAttributes = array_merge(self::$skippedAttributes, $skippedAttributes);
71+
$csvFile = $this->executeExportTest($skus, $skippedAttributes);
72+
73+
$this->executeImportReplaceTest($skus, $skippedAttributes, false, $csvFile);
74+
$this->executeImportDeleteTest($skus, $csvFile);
75+
}
76+
5177
/**
5278
* @inheritdoc
5379
*/

dev/tests/integration/testsuite/Magento/CatalogImportExport/Model/AbstractProductExportImportTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ protected function tearDown(): void
102102
* Run import/export tests.
103103
*
104104
* @magentoAppArea adminhtml
105-
* @magentoDbIsolation enabled
105+
* @magentoDbIsolation disabled
106106
* @magentoAppIsolation enabled
107107
*
108108
* @param array $fixtures

0 commit comments

Comments
 (0)