Skip to content

Commit 172e2ec

Browse files
Enabled @magentoDbIsolation on testImportWithoutUrlKeys() due to simple3 being modified by other tests
1 parent 002aa19 commit 172e2ec

File tree

1 file changed

+3
-4
lines changed
  • dev/tests/integration/testsuite/Magento/CatalogImportExport/Model/Import

1 file changed

+3
-4
lines changed

dev/tests/integration/testsuite/Magento/CatalogImportExport/Model/Import/ProductTest.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1568,20 +1568,19 @@ public function testExistingProductWithUrlKeys()
15681568

15691569
/**
15701570
* @magentoDataFixture Magento/Catalog/_files/product_simple_with_url_key.php
1571-
* @magentoDbIsolation disabled
1571+
* @magentoDbIsolation enabled
15721572
* @magentoAppIsolation enabled
15731573
*/
15741574
public function testImportWithoutUrlKeys()
15751575
{
15761576
/**
15771577
* Products `simple1` and `simple2` are created by fixture so already
1578-
* have a URL Key, whereas `simple3` is new so will use the product
1579-
* name provided in the CSV import for its URL Key.
1578+
* have a URL Key, whereas `simple3` is a new product so won't have one.
15801579
*/
15811580
$products = [
15821581
'simple1' => 'url-key',
15831582
'simple2' => 'url-key2',
1584-
'simple3' => 'simple-3'
1583+
'simple3' => 'simple-3',
15851584
];
15861585
$filesystem = $this->objectManager->create(\Magento\Framework\Filesystem::class);
15871586
$directory = $filesystem->getDirectoryWrite(DirectoryList::ROOT);

0 commit comments

Comments
 (0)