diff --git a/cake/tests/cases/libs/view/helpers/html.test.php b/cake/tests/cases/libs/view/helpers/html.test.php index 89eed2ea8..d5ffba104 100644 --- a/cake/tests/cases/libs/view/helpers/html.test.php +++ b/cake/tests/cases/libs/view/helpers/html.test.php @@ -46,14 +46,23 @@ class HtmlHelperTest extends UnitTestCase { $view = new View(new TheHtmlTestController()); ClassRegistry::addObject('view', $view); } - - /* commented out because selectTag is deprecated + function testSelectTag() { - $result = $this->html->selectTag('Model/field', array()); - $expected = ''; - $this->assertEqual($result, $expected, "Badness! Expected '{$expected}', got '{$result}'."); - }*/ - + @$result = $this->html->selectTag('Model/field', array()); + $this->assertPattern('/^