Fixed
Project:
Drupal core
Version:
11.4.x-dev
Component:
mail system
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Jul 2026 at 05:53 UTC
Updated:
29 Jul 2026 at 13:16 UTC
Jump to comment: Most recent
Seen this a couple of times recently.
https://git.drupalcode.org/project/drupal/-/jobs/11136550
---- Drupal\Tests\Core\Mail\Plugin\Mail\SymfonyMailerTest ----
Status Duration Info
--------------------------------------------------------------------------------------------------------
Fail 0.016s testFormatResemblesHtml
Pass 0.008s testMail with data set "defaults"
Pass 0.002s testMail with data set "line endings in subject"
Pass <1 ms testMail with data set "multiple comma-separated recipients"
Failure *** Process execution output ***
PHPUnit 12.5.14 by Sebastian Bergmann and contributors.
Runtime: PHP 8.5.8
Configuration: /builds/core/phpunit.xml.dist
F... 4 / 4 (100%)
Time: 00:00.027, Memory: 10.00 MB
Symfony Mailer (Drupal\Tests\Core\Mail\Plugin\Mail\SymfonyMailer)
✘ Format resembles html
┐
├ Failed asserting that two strings are equal.
┊ ---·Expected
┊ +++·Actual
┊ @@ @@
┊ '...a
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
catchComment #5
daffie commentedChanged from testing with randomString() to testing with randomMachineName().
Comment #6
smustgrave commentedNice find!
Comment #10
catchCommitted/pushed to main, 11.x, and 11.4.x ,thanks!