Closed westonruter closed 1 year ago
QA Passed ✅
On running npm run test:php
at the base branch(develop) tests are getting executed as expected inside the wp-env docker instance.
Note: wp-env is also getting used by the
Build Test & Measure
workflow to run multisite PHPUnit tests, which is also working as expected so far.
Bug Description
With the update to wp-env 5.0.0, running
npm run test:php
now results in a fatal error. This package update had a backwards-incompatible change as explained in the release notes:We didn't catch it via CI because GHA doesn't run Docker to run the tests. When running in the local Docker-based dev environment, however, it is broken.
Expected Behaviour
Running PHPUnit tests, both
npm run test:php
andnpm run test:php:xdebug
, should work successfully.Screenshots
PHP Version
No response
Plugin Version
2.3.0
AMP plugin template mode
Standard, Transitional, Reader
WordPress Version
No response
Site Health
No response
Gutenberg Version
No response
OS(s) Affected
No response
Browser(s) Affected
No response
Device(s) Affected
No response
Acceptance Criteria
No response
Implementation Brief
No response
QA Testing Instructions
No response
Demo
No response
Changelog Entry
No response