Skip to content

Commit

Permalink
Fixing failing tests caused by merge with 1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Jun 26, 2011
1 parent 1ffa736 commit e4d7010
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/Cake/Test/Case/View/Helper/HtmlHelperTest.php
Expand Up @@ -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')));
}

/**
Expand Down

0 comments on commit e4d7010

Please sign in to comment.