@@ -198,7 +198,7 @@ public function testHelp()
198198 $ html = $ this ->renderHelp ($ view );
199199
200200 $ this ->assertMatchesXpath ($ html ,
201- '/p
201+ '/div
202202 [@id="name_help"]
203203 [@class="form-text mb-0 help-text"]
204204 [.="[trans]Help text test![/trans]"]
@@ -218,7 +218,7 @@ public function testHelpAttr()
218218 $ html = $ this ->renderHelp ($ view );
219219
220220 $ this ->assertMatchesXpath ($ html ,
221- '/p
221+ '/div
222222 [@id="name_help"]
223223 [@class="class-test form-text mb-0 help-text"]
224224 [.="[trans]Help text test![/trans]"]
@@ -236,15 +236,15 @@ public function testHelpHtmlDefaultIsFalse()
236236 $ html = $ this ->renderHelp ($ view );
237237
238238 $ this ->assertMatchesXpath ($ html ,
239- '/p
239+ '/div
240240 [@id="name_help"]
241241 [@class="form-text mb-0 help-text"]
242242 [.="[trans]Help <b>text</b> test![/trans]"]
243243 '
244244 );
245245
246246 $ this ->assertMatchesXpath ($ html ,
247- '/p
247+ '/div
248248 [@id="name_help"]
249249 [@class="form-text mb-0 help-text"]
250250 /b
@@ -264,15 +264,15 @@ public function testHelpHtmlIsFalse()
264264 $ html = $ this ->renderHelp ($ view );
265265
266266 $ this ->assertMatchesXpath ($ html ,
267- '/p
267+ '/div
268268 [@id="name_help"]
269269 [@class="form-text mb-0 help-text"]
270270 [.="[trans]Help <b>text</b> test![/trans]"]
271271 '
272272 );
273273
274274 $ this ->assertMatchesXpath ($ html ,
275- '/p
275+ '/div
276276 [@id="name_help"]
277277 [@class="form-text mb-0 help-text"]
278278 /b
@@ -290,15 +290,15 @@ public function testHelpHtmlIsTrue()
290290 $ html = $ this ->renderHelp ($ form ->createView ());
291291
292292 $ this ->assertMatchesXpath ($ html ,
293- '/p
293+ '/div
294294 [@id="name_help"]
295295 [@class="form-text mb-0 help-text"]
296296 [.="[trans]Help <b>text</b> test![/trans]"]
297297 ' , 0
298298 );
299299
300300 $ this ->assertMatchesXpath ($ html ,
301- '/p
301+ '/div
302302 [@id="name_help"]
303303 [@class="form-text mb-0 help-text"]
304304 /b
@@ -377,7 +377,7 @@ public function testCheckboxRowWithHelp()
377377 [@for="name"]
378378 [.="[trans]foo[/trans]"]
379379 ]
380- /following-sibling::p
380+ /following-sibling::div
381381 [@class="form-text mb-0 help-text"]
382382 [.="[trans]really helpful text[/trans]"]
383383 ]
@@ -871,7 +871,7 @@ public function testRadioRowWithHelp()
871871 '/div
872872 [@class="mb-3"]
873873 [
874- ./p
874+ ./div
875875 [@class="form-text mb-0 help-text"]
876876 [.="[trans]really helpful text[/trans]"]
877877 ]
0 commit comments