mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Fixing failing tests caused by merge with 1.3
This commit is contained in:
parent
1ffa7366a5
commit
e4d701021e
1 changed files with 4 additions and 4 deletions
|
@ -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')));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue