Skip to content

Commit

Permalink
Codestyle
Browse files Browse the repository at this point in the history
  • Loading branch information
NunoLopesPT committed Apr 15, 2017
1 parent c90bfed commit 746f8d1
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -125,7 +125,9 @@ public function testRender()

$alert = JText::_('WARNING');

$expected = "\n<button onclick=\"if (document.adminForm.boxchecked.value == 0) { Joomla.renderMessages({'warning': ['JLIB_HTML_PLEASE_MAKE_A_SELECTION_FROM_THE_LIST', '<h4>" . $alert . "</h4>']}) } else { Joomla.submitbutton(''); }\" class=\"btn btn-sm btn-outline-primary\">\n\t<span class=\"icon-test\"></span>\n\t</button>\n";
$expected = "\n<button onclick=\"if (document.adminForm.boxchecked.value == 0) { Joomla.renderMessages({'warning': ['JLIB_HTML_PLEASE_MAKE_A_SELECTION_FROM_THE_LIST', '<h4>"
. $alert
. "</h4>']}) } else { Joomla.submitbutton(''); }\" class=\"btn btn-sm btn-outline-primary\">\n\t<span class=\"icon-test\"></span>\n\t</button>\n";

$this->assertEquals(
$expected,
Expand Down

0 comments on commit 746f8d1

Please sign in to comment.