N°7920 - laminas-mail is an abandoned package, replace it with symfony/mailer (#742)

* N°7920 - laminas-mail is an abandoned package, replace it with symfony/mailer

* Fix composer following merge
This commit is contained in:
Stephen Abello
2025-09-17 16:04:20 +02:00
committed by GitHub
parent 8982f7e0e3
commit 428d2c6356
645 changed files with 20889 additions and 81911 deletions

View File

@@ -39,7 +39,7 @@ class EMailTest extends ItopTestCase {
// Check if our charset is correctly set
// We know this file may be used by other future test, but as we can't configure output filename, it is what it is
$sEmailContent = file_get_contents(APPROOT.'log/mail.log');
$this->assertStringContainsString('charset="UTF-8"', $sEmailContent);
$this->assertStringContainsStringIgnoringCase('charset=UTF-8', $sEmailContent);
// Set our previous email transport value back, so it doesn't affect other tests
$oConfig->Set('email_transport', $sCurrentEmailTransport);
@@ -78,7 +78,7 @@ class EMailTest extends ItopTestCase {
// Check if our charset is correctly set
// We know this file may be used by other future test, but as we can't configure output filename, it is what it is
$sEmailContent = file_get_contents(APPROOT.'log/mail.log');
$this->assertStringContainsString('Content-Type: text/plain; charset=UTF-8', $sEmailContent);
$this->assertStringContainsStringIgnoringCase('Content-Type: text/plain; charset=UTF-8', $sEmailContent);
// Set our previous email transport value back, so it doesn't affect other tests
$oConfig->Set('email_transport', $sCurrentEmailTransport);