Skip to content

Commit 6c446c4

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

File tree

1 file changed

+7
-1
lines changed
  • dev/tests/integration/testsuite/Magento/BundleImportExport/Model

1 file changed

+7
-1
lines changed

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ public function exportImportDataProvider(): array
6363
*/
6464
public function testImportExport(array $fixtures, array $skus, array $skippedAttributes = []): void
6565
{
66-
$this->csvFile = null;
6766
$this->fixtures = $fixtures;
6867
$this->executeFixtures($fixtures);
6968
$this->modifyData($skus);
@@ -72,8 +71,15 @@ public function testImportExport(array $fixtures, array $skus, array $skippedAtt
7271

7372
$this->executeImportReplaceTest($skus, $skippedAttributes, false, $csvFile);
7473
$this->executeImportDeleteTest($skus, $csvFile);
74+
75+
$rollbacks = [];
76+
foreach ($fixtures as $fixture) {
77+
$rollbacks[] = str_replace('.php', '_rollback.php', $fixture);
78+
}
79+
$this->executeFixtures($rollbacks);
7580
}
7681

82+
7783
/**
7884
* @inheritdoc
7985
*/

0 commit comments

Comments
 (0)