PHPUnit refuses to generate a coverage report for object-cache.php moved to another directory (example). This PR updates the test bootstrap to create wp-content/object-cache.php that require_once our object-cache.php. This way, the coverage is generated for the original file, and PHPUnit can process it.
PHPUnit refuses to generate a coverage report for
object-cache.php
moved to another directory (example). This PR updates the test bootstrap to createwp-content/object-cache.php
thatrequire_once
ourobject-cache.php
. This way, the coverage is generated for the original file, and PHPUnit can process it.