diff --git a/lib/Cake/Test/Case/View/Helper/HtmlHelperTest.php b/lib/Cake/Test/Case/View/Helper/HtmlHelperTest.php index 4b7262016..2a794dcab 100644 --- a/lib/Cake/Test/Case/View/Helper/HtmlHelperTest.php +++ b/lib/Cake/Test/Case/View/Helper/HtmlHelperTest.php @@ -1505,6 +1505,18 @@ class HtmlHelperTest extends CakeTestCase { $result = $this->Html->tableHeaders(array('ID', 'Name', 'Date')); $expected = array('assertTags($result, $expected); + + $result = $this->Html->tableHeaders(array('ID', array('Name' => array('class' => 'highlight')), 'Date')); + $expected = array('assertTags($result, $expected); + + $result = $this->Html->tableHeaders(array('ID', array('Name' => array('class' => 'highlight', 'width' => '120px')), 'Date')); + $expected = array('assertTags($result, $expected); + + $result = $this->Html->tableHeaders(array('ID', array('Name' => array()), 'Date')); + $expected = array('assertTags($result, $expected); } /**