Skip to content

Commit

Permalink
Merge pull request #11040 from creative-commoners/pulls/4.13/new-brok…
Browse files Browse the repository at this point in the history
…en-builds

MNT Fix incorrect expected value in HTMLEditorFieldTest
  • Loading branch information
GuySartorelli authored Nov 2, 2023
2 parents 07bb6ed + f393adf commit 69fcc2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/php/Forms/HTMLEditor/HTMLEditorFieldTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ public function testFieldConfigSanitization()
$editor->setEditorConfig($restrictedConfig);

$expectedHtmlString = '<p>standard text</p>Header';
$htmlValue = '<p>standard text</p><table><th></th><tr><td>Header</td></tr><tbody></tbody></table>';
$htmlValue = '<p>standard text</p><table><tbody><tr><th></th></tr><tr><td>Header</td></tr></tbody><tbody></tbody></table>';
$editor->setValue($htmlValue);
$editor->saveInto($obj);
$this->assertEquals($expectedHtmlString, $obj->Content, 'Table is not removed');
Expand Down

0 comments on commit 69fcc2c

Please sign in to comment.