From 5f5165275b00548fcb06572c8187eb11e16d57fd Mon Sep 17 00:00:00 2001 From: mark_story Date: Tue, 14 Jan 2014 22:29:17 -0500 Subject: [PATCH] Remove complex rendering. There wasn't a complex option type in 2.x, so there isn't much reason to add it. --- src/View/Input/MultiCheckbox.php | 1 + tests/TestCase/View/Input/MultiCheckboxTest.php | 9 --------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/src/View/Input/MultiCheckbox.php b/src/View/Input/MultiCheckbox.php index 9a185992c2a..532bd6332b9 100644 --- a/src/View/Input/MultiCheckbox.php +++ b/src/View/Input/MultiCheckbox.php @@ -41,6 +41,7 @@ public function __construct($templates) { * checked. * - `disabled` Either a boolean or an array of checkboxes to disable. * - `escape` Set to false to disable HTML escaping. + * - `options` An associative array of value=>labels to generate options for. * * @param array $data * @return string diff --git a/tests/TestCase/View/Input/MultiCheckboxTest.php b/tests/TestCase/View/Input/MultiCheckboxTest.php index 201f3213dad..3a02ea2fe05 100644 --- a/tests/TestCase/View/Input/MultiCheckboxTest.php +++ b/tests/TestCase/View/Input/MultiCheckboxTest.php @@ -106,15 +106,6 @@ public function testRenderEscaping() { $this->assertTags($result, $expected); } -/** - * Test render complex options. - * - * @return void - */ - public function testRenderComplex() { - $this->markTestIncomplete(); - } - /** * Test render selected checkboxes. *