Skip to content

Commit c8908f2

Browse files
committed
fix(checkboxesfield): back to BR
1 parent 56d1e7e commit c8908f2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/3-unit/GlpiPlugin/Formcreator/Field/CheckboxesField.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -301,21 +301,21 @@ public function providerGetValueForTargetText() {
301301
'values' => "[]"
302302
]),
303303
'value' => json_encode(['a']),
304-
'expected' => '<p></p>'
304+
'expected' => ''
305305
],
306306
[
307307
'question' => $this->getQuestion([
308308
'values' => json_encode(['a', 'b', 'c'])
309309
]),
310310
'value' => json_encode(['a']),
311-
'expected' => '<p>a</p>'
311+
'expected' => 'a'
312312
],
313313
[
314314
'question' => $this->getQuestion([
315315
'values' => json_encode(['a', 'b', 'c'])
316316
]),
317317
'value' => json_encode(['a', 'c']),
318-
'expected' => '<p>a</p><p>c</p>'
318+
'expected' => 'a<br />c'
319319
],
320320
];
321321
}

0 commit comments

Comments
 (0)