Skip to content

Commit c02e0a1

Browse files
author
silinmykola
committed
php8 compatibility/fix integration test magento_swatches module
1 parent 9cb767c commit c02e0a1

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)