Closed (fixed)
Project:
Drupal core
Version:
main
Component:
phpunit
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
17 Mar 2026 at 19:21 UTC
Updated:
2 Apr 2026 at 09:25 UTC
Jump to comment: Most recent
Comments
Comment #2
dcam commentedComment #4
dcam commentedComment #5
smustgrave commentedLock = no deprecations
Logger = no deprecations
Mail =
Path = Got 10 still example
PathPreprocess = got 1
Prewarm = 0
Comment #6
dcam commentedThank you again for pointing them out. I'm going to be better about noting the notices covered by other MRs.
The mentioned notices are covered by #3578904: Convert expectation-less test mocks to stubs - UnitTestCase. When I run the tests without the #3578904 changes I get 14 notices from these tests. When I apply the MR from #3578904 I get 0.
Comment #7
smustgrave commentedRetested mail, path, and pathpreprocess and all 0
Comment #10
catchThis looks fine, some of the tests start to look a bit repetitive - lots of the same method calls in various test methods, but that's something we can look at if someone ever decides to refactor the tests and might not be easy to change anyway.
Committed/pushed to main, thanks!