mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 06:15:19 +08:00
Fixes #653: use boolean type to indicate boolean attributes.
This commit is contained in:
@ -471,7 +471,7 @@ EOD;
|
||||
{
|
||||
$this->assertEquals('', Html::renderTagAttributes(array()));
|
||||
$this->assertEquals(' name="test" value="1<>"', Html::renderTagAttributes(array('name' => 'test', 'empty' => null, 'value' => '1<>')));
|
||||
$this->assertEquals(' checked disabled', Html::renderTagAttributes(array('checked' => 'checked', 'disabled' => true, 'hidden' => false)));
|
||||
$this->assertEquals(' checked disabled', Html::renderTagAttributes(array('checked' => true, 'disabled' => true, 'hidden' => false)));
|
||||
}
|
||||
|
||||
public function testAddCssClass()
|
||||
|
Reference in New Issue
Block a user