Index: trunk/phase3/tests/phpunit/includes/HtmlTest.php |
— | — | @@ -47,14 +47,13 @@ |
48 | 48 | 'Boolean attributes do not generates output when value is null' |
49 | 49 | ); |
50 | 50 | |
51 | | - ### FIXME: maybe they should just output 'selected' |
52 | 51 | $this->AssertEquals( |
53 | | - ' selected=""', |
| 52 | + ' selected="selected"', |
54 | 53 | Html::expandAttributes( array( 'selected'=>true ) ), |
55 | 54 | 'Boolean attributes skip value output' |
56 | 55 | ); |
57 | 56 | $this->AssertEquals( |
58 | | - ' selected=""', |
| 57 | + ' selected="selected"', |
59 | 58 | Html::expandAttributes( array( 'selected' ) ), |
60 | 59 | 'Boolean attributes (ex: selected) do not need a value' |
61 | 60 | ); |