Skip to content

Commit 18cb5bd

Browse files
committed
MAGETWO-91570: [2.2.x] - [Github]Can not save attribute #5907
1 parent dc1400e commit 18cb5bd

File tree

1 file changed

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

1 file changed

+6
-1
lines changed

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,12 +317,17 @@ public function testLargeOptionsDataSet()
317317
);
318318

319319
foreach ($expectedOptionsLabels as $optionOrderNum => $label) {
320-
$this->assertEquals($label, $options[$optionOrderNum]->getLabel(), 'Label does not match expected.');
320+
$this->assertEquals(
321+
$label,
322+
$options[$optionOrderNum]->getLabel(),
323+
"Label for option #{$optionOrderNum} does not match expected."
324+
);
321325
}
322326
} catch (LocalizedException $e) {
323327
$this->fail('Test failed with exception on attribute model load: ' . $e);
324328
}
325329
}
330+
326331
/**
327332
* Return translation for a string literal belonging to backend area
328333
*

0 commit comments

Comments
 (0)