Skip to content

Commit 6dfd297

Browse files
committed
MAGETWO-94819: Swatch validation breaks the whole attribute form
1 parent 727ca8c commit 6dfd297

File tree

1 file changed

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

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,8 @@ protected function _getAttributeData()
376376
'used_in_product_listing' => '1',
377377
'used_for_sort_by' => '0',
378378
'apply_to' => ['simple'],
379-
'frontend_label' => [\Magento\Store\Model\Store::DEFAULT_STORE_ID => 'string to translate']
379+
'frontend_label' => [\Magento\Store\Model\Store::DEFAULT_STORE_ID => 'string to translate'],
380+
'serialized_options' => '[]',
380381
];
381382
}
382383
}

0 commit comments

Comments
 (0)