Closed (fixed)
Project:
Drupal core
Version:
11.x-dev
Component:
content_moderation.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
12 Jan 2026 at 23:32 UTC
Updated:
23 Feb 2026 at 13:09 UTC
Jump to comment: Most recent
Comments
Comment #3
acbramley commentedComment #4
berdirI'm always wondering whether something like this should be an addition to an existing test method or a new one since functional tests are fairly heavy. But I think it's OK like this.
This test coverage will allow us to remove the is page code in content _moderation without risk of regressions.
Comment #9
catchThis looks like a good candidate for #3390193: Add a drupalGet() method to KernelTestBase eventually, where as separate method will make less difference, so I think it's fine here. While I've combined some test methods in other issues, tend to try to reserve that only for very expensive tests.
Committed/pushed to main and 11.x, thanks!