Skip to content

Commit bc783ff

Browse files
committed
Merge remote-tracking branch 'SilinMykola/php8-compatibility/fix-swatches-module-integration-test' into platform-health
2 parents f5f6b61 + c02e0a1 commit bc783ff

File tree

1 file changed

+1
-1
lines changed
  • dev/tests/integration/testsuite/Magento/Swatches/Controller/Adminhtml/Product

1 file changed

+1
-1
lines changed

dev/tests/integration/testsuite/Magento/Swatches/Controller/Adminhtml/Product/AttributeTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ private function getSwatchTextDataSet(int $optionsCount) : array
103103
$optionRowData = [];
104104
$optionRowData['optiontext']['order'][$optionId] = $i + 1;
105105
$optionRowData['defaulttext'][] = $optionId;
106-
$optionRowData['swatchtext']['value'][$optionId] = 'x' . $i ;
106+
$optionRowData['swatchtext']['value'][$optionId][] = 'x' . $i ;
107107
$optionRowData['optiontext']['value'][$optionId][0] = 'value_' . $i . '_admin';
108108
$optionRowData['optiontext']['value'][$optionId][1]= $expectedOptionLabelOnStoreView;
109109
$optionRowData['optiontext']['delete'][$optionId]='';

0 commit comments

Comments
 (0)