Closed (fixed)
Project:
External Entities
Version:
3.1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
18 Aug 2026 at 18:39 UTC
Updated:
8 Sep 2026 at 12:00 UTC
Jump to comment: Most recent
PHPUnit 12 flags 129 "No expectations configured for the mock object" notices plus 3 incomplete tests, so the next-major job stays red. Test-only debt split out of #3617205: Add native return types and fix remaining PHP 8.5 deprecations.
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 #3
velmir_taky commentedSwitched expectation-less doubles to
createStub(), kept mocks only where a test asserts calls.Instead of just dropping the
markTestIncomplete(), the two functional tests now assert real behaviour (parsed REST params + file edit round-trip); the empty ViewsData placeholder became a real base-table test.Comment #4
guignonvExcellent work. You cleaned up the use of doubles. Indeed, mocks were overused. Thanks!
Comment #6
velmir_taky commentedThanks @guignonv!