@@ -160,7 +160,7 @@ public function testHeader () {
160160 ['a ' => [
161161 'href ' => '#collapse-0 ' ,
162162 'data-toggle ' => 'collapse ' ,
163- 'aria-expanded ' => true ,
163+ 'aria-expanded ' => ' true ' ,
164164 'aria-controls ' => '#collapse-0 '
165165 ]],
166166 htmlspecialchars ($ htmlContent ),
@@ -185,7 +185,7 @@ public function testHeader () {
185185 ['a ' => [
186186 'href ' => '#collapse-1 ' ,
187187 'data-toggle ' => 'collapse ' ,
188- 'aria-expanded ' => true ,
188+ 'aria-expanded ' => ' true ' ,
189189 'aria-controls ' => '#collapse-1 '
190190 ]],
191191 ['b ' => true ], $ content , '/b ' ,
@@ -211,7 +211,7 @@ public function testHeader () {
211211 ['a ' => [
212212 'href ' => '#collapse-2 ' ,
213213 'data-toggle ' => 'collapse ' ,
214- 'aria-expanded ' => true ,
214+ 'aria-expanded ' => ' true ' ,
215215 'aria-controls ' => '#collapse-2 '
216216 ]],
217217 ['i ' => [
@@ -270,7 +270,7 @@ public function testGroup () {
270270 'href ' => '#collapse- ' .$ i ,
271271 'data-toggle ' => 'collapse ' ,
272272 'data-parent ' => '#panelGroup-1 ' ,
273- 'aria-expanded ' => true ,
273+ 'aria-expanded ' => $ i == 0 ? ' true ' : ' false ' ,
274274 'aria-controls ' => '#collapse- ' .$ i
275275 ]],
276276 $ panelHeading ,
0 commit comments