Skip to content

Commit

Permalink
#413 live test adjusted to fit the provided example code
Browse files Browse the repository at this point in the history
  • Loading branch information
Webklex committed Jun 26, 2023
1 parent 29245c8 commit f8f17f6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/issues/Issue413Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,10 @@ public function testLiveIssueEmail() {
$folder = $this->getFolder('INBOX');
self::assertInstanceOf(Folder::class, $folder);

/** @var Message $message */
$_message = $this->appendMessageTemplate($folder, 'issue-413.eml');

$message = $folder->messages()->all()->get()->last();
$message = $folder->messages()->getMessageByMsgn($_message->msgn);
self::assertEquals($message->uid, $_message->uid);

self::assertSame("Test Message", (string)$message->subject);
Expand Down

0 comments on commit f8f17f6

Please sign in to comment.