Permalink
Browse files

Fixing failing tests caused by merge with 1.3

  • Loading branch information...
1 parent 1ffa736 commit e4d701021e64366d822b23c1bb3b89ef5ad3a34e @markstory markstory committed Jun 26, 2011
Showing with 4 additions and 4 deletions.
  1. +4 −4 lib/Cake/Test/Case/View/Helper/HtmlHelperTest.php
@@ -1299,11 +1299,11 @@ public function testUseTag() {
$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')));
}
/**

0 comments on commit e4d7010

Please sign in to comment.