Fix failing tests: Update install-wp-tests.sh, Cypress commands, and GitHub Actions workflows

This commit is contained in:
2025-04-23 04:26:06 +01:00
parent bb31e0e934
commit b1966067ea
20 changed files with 263 additions and 106 deletions

View File

@@ -15,7 +15,9 @@ require_once getenv( 'WP_PHPUNIT__DIR' ) . '/includes/functions.php';
* Manually load the plugin being tested.
*/
function _manually_load_plugin() {
require dirname( dirname( __DIR__ ) ) . '/plugin-toggle.php';
require dirname( dirname( __DIR__ ) ) . '/wp-plugin-starter-template.php';
// Load the multisite class for testing
require dirname( dirname( __DIR__ ) ) . '/includes/multisite/class-multisite.php';
}
// Start up the WP testing environment.