Skip to content

Commit abdf9e2

Browse files
author
Vadim Zubovich
committed
MAGNSWTCH-139: PR stabilization - fixed functional test fail
1 parent f5904c5 commit abdf9e2

File tree

1 file changed

+1
-1
lines changed
  • dev/tests/functional/tests/app/Magento/Catalog/Test/Handler/CatalogProductAttribute

1 file changed

+1
-1
lines changed

dev/tests/functional/tests/app/Magento/Catalog/Test/Handler/CatalogProductAttribute/Curl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public function persist(FixtureInterface $fixture = null)
9090

9191
if ($fixture->hasData('options')) {
9292
$optionsData = $fixture->getData()['options'];
93-
foreach ($matches[1] as $key => $optionId) {
93+
foreach (array_unique($matches[1]) as $key => $optionId) {
9494
$optionsData[$key]['id'] = $optionId;
9595
}
9696
$resultData['options'] = $optionsData;

0 commit comments

Comments
 (0)