diff --git a/core/modules/contact/src/Plugin/Mail/HTMLTestingMailSystem.php b/core/lib/Drupal/Core/Mail/Plugin/Mail/HTMLTestMailCollector.php similarity index 77% rename from core/modules/contact/src/Plugin/Mail/HTMLTestingMailSystem.php rename to core/lib/Drupal/Core/Mail/Plugin/Mail/HTMLTestMailCollector.php index 32dd983..cfb0a18 100644 --- a/core/modules/contact/src/Plugin/Mail/HTMLTestingMailSystem.php +++ b/core/lib/Drupal/Core/Mail/Plugin/Mail/HTMLTestMailCollector.php @@ -1,10 +1,10 @@ get('system.test_mail_collector') ?: array(); diff --git a/core/modules/contact/src/Tests/ContactPersonalTest.php b/core/modules/contact/src/Tests/ContactPersonalTest.php index faf8af2..e3abc4e 100644 --- a/core/modules/contact/src/Tests/ContactPersonalTest.php +++ b/core/modules/contact/src/Tests/ContactPersonalTest.php @@ -108,7 +108,7 @@ function testSendPersonalContactMessage() { // Use custom testing mail system to support HTML mails. $mail_config = $this->config('system.mail'); - $mail_config->set('interface.default', 'test_contact_html_mail'); + $mail_config->set('interface.default', 'test_html_mail_collector'); $mail_config->save(); // Test a subject that contains some common encoding characters. $variables = [