Skip to content

Commit 4a63ec6

Browse files
committed
B2B-582: Update history log messages for Order Approvals
- test update
1 parent ac383db commit 4a63ec6

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

dev/tests/integration/testsuite/Magento/Framework/Mail/EmailMessageTest.php

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -197,11 +197,14 @@ public function testEmailMessage($content, $type): void
197197
. '>';
198198
$this->assertContains($ccString, $message->toString());
199199
$this->assertContains('Bcc: ' . $bcc[0]->getEmail(), $message->toString());
200-
$contentDescription = 'Content-Description: =?utf-8?Q?'
200+
$contentDescription = 'Content-Description: =?UTF-8?Q?'
201201
. str_replace(' ', '=20', $this->description)
202202
. '?=';
203203
$this->assertContains($contentDescription, $message->toString());
204-
$this->assertContains('Subject: ' . $this->subject, $message->toString());
204+
$subject = 'Subject: =?UTF-8?Q?'
205+
. str_replace(' ', '=20', $this->subject)
206+
. '?=';
207+
$this->assertContains($subject, $message->toString());
205208
$this->assertContains($content, $message->toString());
206209
//tests address factory
207210
$this->assertInstanceOf(Address::class, $message->getTo()[0]);
@@ -274,7 +277,7 @@ public function testEmailMessageWithAttachment(): void
274277
private function getXmlContent(): string
275278
{
276279
return '<?xml version="1.0"?>
277-
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
280+
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
278281
xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
279282
<type name="Magento\Framework\Console\CommandList">
280283
<arguments>

0 commit comments

Comments
 (0)