Fixing failing tests caused by merge with 1.3

This commit is contained in:
Mark Story 2011-06-25 20:00:39 -04:00
parent 1ffa7366a5
commit e4d701021e

View file

@ -1299,11 +1299,11 @@ class HtmlHelperTest extends CakeTestCase {
$result = $this->Html->useTag('formend');
$this->assertTags($result, '/form');
$result = $this->Html->useTag('form', ' test');
$this->assertEqual($result, '<form test>');
$result = $this->Html->useTag('form', 'url', ' test');
$this->assertEqual($result, '<form action="url" test>');
$result = $this->Html->useTag('form', array('test' => 'ok'));
$this->assertTags($result, array('form' => array('test' => 'ok')));
$result = $this->Html->useTag('form', 'example.com', array('test' => 'ok'));
$this->assertTags($result, array('form' => array('test' => 'ok', 'action' => 'example.com')));
}
/**