Skip to content

Commit

Permalink
update exception message
Browse files Browse the repository at this point in the history
  • Loading branch information
steros authored Jan 7, 2017
1 parent e46aaa1 commit d7ad584
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -273,8 +273,8 @@ public function addContainerDataProvider()
public function testAddContainerInvalidHtmlTag()
{
$msg = 'Html tag "span" is forbidden for usage in containers. ' .
'Consider to use one of the allowed: dd, div, dl, fieldset, main, header, ' .
'footer, ol, p, section, table, tfoot, ul, nav.';
'Consider to use one of the allowed: aside, dd, div, dl, fieldset, main, nav, ' .
'header, footer, ol, p, section, table, tfoot, ul.';
$this->setExpectedException(\Magento\Framework\Exception\LocalizedException::class, $msg);
$this->_layout->addContainer('container', 'Container', ['htmlTag' => 'span']);
}
Expand Down

0 comments on commit d7ad584

Please sign in to comment.