From 06eea06980da201be85b755517290a2c439f5051 Mon Sep 17 00:00:00 2001 From: dho Date: Tue, 6 Mar 2007 08:48:45 +0000 Subject: [PATCH] Renaming dummy controller, commenting out test for deprecated function git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4594 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/tests/cases/libs/view/helpers/html.test.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/cake/tests/cases/libs/view/helpers/html.test.php b/cake/tests/cases/libs/view/helpers/html.test.php index c6c357e4b..89eed2ea8 100644 --- a/cake/tests/cases/libs/view/helpers/html.test.php +++ b/cake/tests/cases/libs/view/helpers/html.test.php @@ -33,25 +33,26 @@ require_once LIBS.DS.'view'.DS.'helpers'.DS.'html.php'; require_once LIBS.DS.'controller'.DS.'controller.php'; -class TheTestController extends Controller { +class TheHtmlTestController extends Controller { var $name = 'TheTest'; var $uses = null; - } +} class HtmlHelperTest extends UnitTestCase { var $html = null; function setUp() { $this->html = new HtmlHelper(); - $view = new View(new TheTestController()); + $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}'."); - } + }*/ function tearDown() { unset($this->html);