We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5904c5 commit abdf9e2Copy full SHA for abdf9e2
dev/tests/functional/tests/app/Magento/Catalog/Test/Handler/CatalogProductAttribute/Curl.php
@@ -90,7 +90,7 @@ public function persist(FixtureInterface $fixture = null)
90
91
if ($fixture->hasData('options')) {
92
$optionsData = $fixture->getData()['options'];
93
- foreach ($matches[1] as $key => $optionId) {
+ foreach (array_unique($matches[1]) as $key => $optionId) {
94
$optionsData[$key]['id'] = $optionId;
95
}
96
$resultData['options'] = $optionsData;
0 commit comments