Skip to content

Commit

Permalink
Merge pull request #191 from magento-gl/arrows-symfonymailer-delivery
Browse files Browse the repository at this point in the history
AC-13253: Investigate alternative for laminas/laminas-mail as it is abandoned
  • Loading branch information
2 parents e5aba98 + 7536bca commit c826f5e
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
* Copyright 2015 Adobe
* All Rights Reserved.
*/

declare(strict_types=1);
Expand Down Expand Up @@ -136,7 +136,7 @@ public function testSendAppConfigRequest(): void
$this->manager->sendConfigRequestTo($this->user);

$this->assertNotEmpty($message = $this->transportBuilderMock->getSentMessage());
$messageHtml = $message->getBody()->getParts()[0]->getRawContent();
$messageHtml = quoted_printable_decode($message->getBody()->bodyToString());
$this->assertStringContainsString(
'You are required to configure website-wide and personal Two-Factor Authorization in order to login to',
$messageHtml
Expand Down Expand Up @@ -166,7 +166,7 @@ public function testSendUserConfigRequest(): void
$this->manager->sendConfigRequestTo($this->user);

$this->assertNotEmpty($message = $this->transportBuilderMock->getSentMessage());
$messageHtml = $message->getBody()->getParts()[0]->getRawContent();
$messageHtml = quoted_printable_decode($message->getBody()->bodyToString());
$this->assertStringContainsString(
'You are required to configure personal Two-Factor Authorization in order to login to',
$messageHtml
Expand Down

0 comments on commit c826f5e

Please sign in to comment.