Skip to content

Commit b0d7542

Browse files
committed
AC-10528:Fix for Order Invoice Comment
1 parent bbcc014 commit b0d7542

File tree

1 file changed

+1
-1
lines changed
  • dev/tests/integration/testsuite/Magento/Sales/Controller/Adminhtml/Order/Invoice

1 file changed

+1
-1
lines changed

dev/tests/integration/testsuite/Magento/Sales/Controller/Adminhtml/Order/Invoice/AddCommentTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public function testSendEmailOnAddInvoiceComment(): void
4343
$escaper = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()
4444
->get(\Magento\Framework\Escaper::class);
4545

46-
$this->assertStringContainsString($escaper->escapeHtml($comment), $html);
46+
$this->assertStringContainsString($escaper->escapeHtmlAttr($comment), $html);
4747

4848
$message = $this->transportBuilder->getSentMessage();
4949
$this->assertNotNull($message);

0 commit comments

Comments
 (0)