Index: trunk/phase3/tests/phpunit/includes/XmlTest.php |
— | — | @@ -102,7 +102,7 @@ |
103 | 103 | $this->assertEquals( |
104 | 104 | '<label for="year">From year (and earlier):</label> <input name="year" size="4" value="2011" id="year" maxlength="4" /> <label for="month">From month (and earlier):</label> <select id="month" name="month" class="mw-month-selector"><option value="-1">all</option>' . "\n" . |
105 | 105 | '<option value="1">January</option>' . "\n" . |
106 | | -'<option value="2" selected="selected">February</option>' . "\n" . |
| 106 | +'<option value="2" selected="">February</option>' . "\n" . |
107 | 107 | '<option value="3">March</option>' . "\n" . |
108 | 108 | '<option value="4">April</option>' . "\n" . |
109 | 109 | '<option value="5">May</option>' . "\n" . |
Index: trunk/phase3/tests/phpunit/includes/XmlSelectTest.php |
— | — | @@ -80,7 +80,7 @@ |
81 | 81 | $this->select->addOption( 'foo2' ); |
82 | 82 | $this->assertEquals( |
83 | 83 | '<select><option value="foo1">foo1</option>' . "\n" . |
84 | | -'<option value="bar1" selected="selected">bar1</option>' . "\n" . |
| 84 | +'<option value="bar1" selected="">bar1</option>' . "\n" . |
85 | 85 | '<option value="foo2">foo2</option></select>', $this->select->getHTML() ); |
86 | 86 | } |
87 | 87 | |
— | — | @@ -96,7 +96,7 @@ |
97 | 97 | $this->select->setDefault( 'bar1' ); # setting default after adding options |
98 | 98 | $this->assertEquals( |
99 | 99 | '<select><option value="foo1">foo1</option>' . "\n" . |
100 | | -'<option value="bar1" selected="selected">bar1</option>' . "\n" . |
| 100 | +'<option value="bar1" selected="">bar1</option>' . "\n" . |
101 | 101 | '<option value="foo2">foo2</option></select>', $this->select->getHTML() ); |
102 | 102 | } |
103 | 103 | |