Closed (fixed)
Project:
Media Bulk Download
Version:
1.x-dev
Component:
Code
Priority:
Major
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
5 Mar 2026 at 09:19 UTC
Updated:
19 Mar 2026 at 21:40 UTC
Jump to comment: Most recent
I have attempted to create Functional PHPUnit tests. These are never my strong point. I cannot get the tests to pass but the module does indeed work and it's almost certainly my poor test writing which is the problem. Can somebody with better knowledge in this area pick this up for me?
Run tests. They fail.
Fix the broken test/s.
Fix the broken test/s.
Add more test/s if you wish!
N/A
N/A
N/A
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
daniel.j commentedRefactored and reorganized functional tests for ZIP creation workflows, including scenarios for "none selected," "one selected," and permission enforcement. 2abd6f54
Also added phpstan set to lvl 9, phpcs configurations files as well as standard gitignore and gitattributes files. Make updates to the code base inline with the stricted phpstan requirements.
Comment #6
d.fisher commentedComment #8
d.fisher commentedThank you @daniel.j