Skip to content

Commit 002aa19

Browse files
Updated expected url_key values of integration test testImportWithoutUrlKeys
1 parent fffb6ff commit 002aa19

File tree

1 file changed

+7
-2
lines changed
  • dev/tests/integration/testsuite/Magento/CatalogImportExport/Model/Import

1 file changed

+7
-2
lines changed

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

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1573,9 +1573,14 @@ public function testExistingProductWithUrlKeys()
15731573
*/
15741574
public function testImportWithoutUrlKeys()
15751575
{
1576+
/**
1577+
* 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.
1580+
*/
15761581
$products = [
1577-
'simple1' => 'simple-1',
1578-
'simple2' => 'simple-2',
1582+
'simple1' => 'url-key',
1583+
'simple2' => 'url-key2',
15791584
'simple3' => 'simple-3'
15801585
];
15811586
$filesystem = $this->objectManager->create(\Magento\Framework\Filesystem::class);

0 commit comments

Comments
 (0)