Closed (fixed)
Project:
Views Entity Form Field
Version:
8.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Task
Assigned:
Reporter:
Created:
14 Apr 2026 at 13:22 UTC
Updated:
31 Jul 2026 at 12:00 UTC
Jump to comment: Most recent
This is a very helpful, but also powerful and widely used module. For that reason it should have test coverage!
Would be great if someone could take the time to add tests, from installation to functionality and especially permission handling and security.
In the future also issues should add tests to keep things clean and working! :)
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 #4
kieran.cottI've added automated coverage for installation, views integration, field editing functionality, permission handling, and security-sensitive submissions in MR 29.
I've also made a small tweak to fix fallback rendering so the tests don't fail when a fallback render array is overwritten by a field widget build.
Comment #5
kieran.cottPipelines fail, but this seems to be unrelated to any changes made here and is addressed in: https://www.drupal.org/project/views_entity_form_field/issues/3582075
Comment #6
anybodyThanks @kieran.cott this looks promising. Let's now wait for #3582075: CI: fix phpcs & phpstan issues to be resolved.
Comment #7
anybodyThanks, all green! Merging!
@grevil could you finally add our basic tests and then close this fixed?
Comment #9
anybody