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
  • Loading branch information
rganin committed Jun 4, 2018
1 parent dc1400e commit 18cb5bd
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand Down

0 comments on commit 18cb5bd

Please sign in to comment.