From 18cb5bdbd441cb4df1c9351ad394682eed939f88 Mon Sep 17 00:00:00 2001 From: Roman Ganin Date: Mon, 4 Jun 2018 15:22:59 -0500 Subject: [PATCH] MAGETWO-91570: [2.2.x] - [Github]Can not save attribute #5907 --- .../Catalog/Controller/Adminhtml/Product/AttributeTest.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/dev/tests/integration/testsuite/Magento/Catalog/Controller/Adminhtml/Product/AttributeTest.php b/dev/tests/integration/testsuite/Magento/Catalog/Controller/Adminhtml/Product/AttributeTest.php index 00ee7afeba1e0..c037e48758c85 100644 --- a/dev/tests/integration/testsuite/Magento/Catalog/Controller/Adminhtml/Product/AttributeTest.php +++ b/dev/tests/integration/testsuite/Magento/Catalog/Controller/Adminhtml/Product/AttributeTest.php @@ -317,12 +317,17 @@ public function testLargeOptionsDataSet() ); foreach ($expectedOptionsLabels as $optionOrderNum => $label) { - $this->assertEquals($label, $options[$optionOrderNum]->getLabel(), 'Label does not match expected.'); + $this->assertEquals( + $label, + $options[$optionOrderNum]->getLabel(), + "Label for option #{$optionOrderNum} does not match expected." + ); } } catch (LocalizedException $e) { $this->fail('Test failed with exception on attribute model load: ' . $e); } } + /** * Return translation for a string literal belonging to backend area *