Closed (fixed)
Project:
Name Field
Version:
8.x-1.x-dev
Component:
Testing
Priority:
Minor
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
3 May 2016 at 09:07 UTC
Updated:
13 Nov 2025 at 16:34 UTC
Jump to comment: Most recent
In #2700377: Call to undefined method on manage display we fixed a bug, but we didn't add any test coverage. Would be nice to have that covered.
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 #2
alan d. commentedany test run on anything useful with the display settings will pick up PHP errors like this, so the task would be on something useful :)
Comment #3
bluegeek9 commentedComment #6
bluegeek9 commentedComment #8
heddnThere's a lot of mocking going on. Wouldn't a kernel or functional test be an easier solution here?
Comment #9
bluegeek9 commentedComment #10
bluegeek9 commentedI added Kernel and Functional tests.
I updated NameFormatter.php::getListSettings()
I think my change is correct, but it should be reviewed.
Comment #11
heddnCommented on the MR.
Comment #12
bluegeek9 commented