Fixed
Project:
Drupal core
Version:
11.x-dev
Component:
phpunit
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
25 Jul 2026 at 23:35 UTC
Updated:
27 Jul 2026 at 00:34 UTC
Jump to comment: Most recent
Comments
Comment #2
catchOther way round - the test is looking for an escaped string but #markup doesn't get escaped. This might be it.
Comment #4
catchOK was right the first time, needs ::randomMachineName(), either that or I'm missing something.
https://git.drupalcode.org/project/drupal/-/jobs/11171164
Comment #5
godotislateSigh, this is my bad because I though random string would demonstrate the functionality than a static string. But machine name is good.
Comment #8
catchGoing ahead and committing my own MR here because this is pretty frequent and test-only, and reverting would re-introduce the previous random test failure.