Skip to content

Commit 8722fa6

Browse files
committed
MAGETWO-95426: Unable to set default option for swatch attribute
1 parent 16526ba commit 8722fa6

File tree

2 files changed

+2
-3
lines changed
  • dev/tests/functional/tests/app/Magento
    • Catalog/Test/Handler/CatalogProductAttribute
    • Swatches/Test/Handler/SwatchProductAttribute

2 files changed

+2
-3
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,10 +157,9 @@ protected function changeStructureOfTheData(array $data): array
157157
* Provides serialized product attribute options.
158158
*
159159
* @param array $data
160-
* @param array $optionKeys
161160
* @return string
162161
*/
163-
protected function getSerializeOptions(array $data, array $optionKeys = []): string
162+
protected function getSerializeOptions(array $data): string
164163
{
165164
$options = [];
166165
foreach ($data as $optionRowData) {

dev/tests/functional/tests/app/Magento/Swatches/Test/Handler/SwatchProductAttribute/Curl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ protected function changeStructureOfTheData(array $data): array
4343
*
4444
* @inheritdoc
4545
*/
46-
protected function getSerializeOptions(array $data, array $optionKeys = []): string
46+
protected function getSerializeOptions(array $data): string
4747
{
4848
$options = [];
4949
foreach ($data as $optionRowData) {

0 commit comments

Comments
 (0)