Closed (fixed)
Project:
Drupal core
Version:
main
Component:
phpunit
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
17 Mar 2026 at 19:32 UTC
Updated:
7 Apr 2026 at 10:55 UTC
Jump to comment: Most recent
Comments
Comment #2
dcam commentedComment #4
dcam commentedComment #5
dcam commentedWhen running these tests without the MR from #3578904: Convert expectation-less test mocks to stubs - UnitTestCase applied I get 118 notices that are unfixed. When I apply the changes from #3578904 there are 0 notices.
Comment #6
dcam commentedComment #7
dcam commentedFYI: the recently-committed
UnitTestCasechanges have been merged into this MR, so they do not need to be applied separately for testing.Comment #8
smustgrave commentedDatetime = OK (135 tests, 523 assertions)
Utility = OK (127 tests, 313 assertions)
DrupalTest = OK (34 tests, 117 assertions)
PrivateKeyTest = OK (3 tests, 7 assertions)
UnroutedUrlTest = OK (79 tests, 81 assertions)
UrlTest = OK (109 tests, 241 assertions)
With regards to the variable name change that gets messy and think probably out of scope here. Plus we would have to go back to existing issues if we went that route.
Comment #9
catchI'm OK with the method name mis-match, this is already a gargantuan task, we can open novice-friendly follow-ups to rename, maybe all at once?