From eba3a9a367aa2fa5e4e4a6c568c02f1c01af6bde Mon Sep 17 00:00:00 2001 From: Nick Liu Date: Thu, 29 Dec 2022 22:08:52 +0100 Subject: [PATCH] Tests: `e107EmailTest::testMsgHTML()`: Enforce SMTP-style line endings On older PHP versions, the line ending seems to be indeterminate? Changing the test mailer from "mail" to "smtp" should enforce CRLF line endings instead of maybe CRLF, maybe LF. --- e107_tests/tests/unit/e107EmailTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e107_tests/tests/unit/e107EmailTest.php b/e107_tests/tests/unit/e107EmailTest.php index 293343193..862cbf43b 100644 --- a/e107_tests/tests/unit/e107EmailTest.php +++ b/e107_tests/tests/unit/e107EmailTest.php @@ -29,7 +29,7 @@ $this->eml->__construct(); - + $this->eml->Mailer = "smtp"; } /*