From 285e7f4979c048ba032c582d94c10df7a2abe8da Mon Sep 17 00:00:00 2001 From: aarohiprasad Date: Thu, 27 Feb 2025 21:28:35 +0530 Subject: [PATCH] Admin User -> Admin --- Tests/Functional/Mailer/Transport/SparkpostTransportTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/Functional/Mailer/Transport/SparkpostTransportTest.php b/Tests/Functional/Mailer/Transport/SparkpostTransportTest.php index 4e4b6e2..7cae04b 100644 --- a/Tests/Functional/Mailer/Transport/SparkpostTransportTest.php +++ b/Tests/Functional/Mailer/Transport/SparkpostTransportTest.php @@ -130,7 +130,7 @@ private function assertSparkpostTestRequestBody(string $body): void private function assertSparkpostRequestBody(string $body): void { $bodyArray = json_decode($body, true); - Assert::assertSame('Admin User ', $bodyArray['content']['from']); + Assert::assertSame('Admin ', $bodyArray['content']['from']); Assert::assertSame('value123', $bodyArray['content']['headers']['x-global-custom-header']); Assert::assertSame('This is test body for {{{ CONTACTFIELDEMAIL }}}!', $bodyArray['content']['html']); Assert::assertSame('admin@mautic.test', $bodyArray['content']['reply_to']);