Skip to content

Commit

Permalink
MAGETWO-91570: [2.2.x] - [Github]Can not save attribute #5907
Browse files Browse the repository at this point in the history
- swatches test
  • Loading branch information
rganin committed Jun 5, 2018
1 parent 89052b6 commit f3d5e73
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ public function execute()

/**
* Extract options data from serialized options field.
*
*
* This logic is required to overcome max_input_vars php limit
* that may vary and/or be inaccessible to change on different instances.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
use Magento\Framework\Exception\LocalizedException;

/**
* Test for product attribute save controller.
*
* @magentoAppArea adminhtml
* @magentoDbIsolation enabled
*/
Expand Down Expand Up @@ -99,8 +101,6 @@ private function getSwatchTextDataSet($optionsCount)
];
}

// ["optiontext[order][option_0]=1","defaulttext[]=option_0","swatchtext[value][option_0][0]=1","optiontext[value][option_0][0]=111","swatchtext[value][option_0][1]=1","optiontext[value][option_0][1]=111","swatchtext[value][option_0][2]=","optiontext[value][option_0][2]=","optiontext[delete][option_0]=","optiontext[order][option_1]=2","defaulttext[]=option_1","swatchtext[value][option_1][0]=2","optiontext[value][option_1][0]=222","swatchtext[value][option_1][1]=2","optiontext[value][option_1][1]=222","swatchtext[value][option_1][2]=","optiontext[value][option_1][2]=","optiontext[delete][option_1]=","text_swatch_validation=","text_swatch_validation_unique="]

/**
* Get data preset for new attribute.
*
Expand Down

0 comments on commit f3d5e73

Please sign in to comment.