Problem/Motivation

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?

Steps to reproduce

Run tests. They fail.

Proposed resolution

Fix the broken test/s.

Remaining tasks

Fix the broken test/s.
Add more test/s if you wish!

User interface changes

N/A

API changes

N/A

Data model changes

N/A

Command icon Show commands

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

d.fisher created an issue. See original summary.

daniel.j made their first commit to this issue’s fork.

daniel.j’s picture

Version: » 1.x-dev
Status: Active » Needs review

Refactored 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.

d.fisher’s picture

Status: Needs review » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

d.fisher’s picture

Thank you @daniel.j

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.