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

This commit is contained in:
marcus committed 2025-04-23 04:26:06 +01:00
1 parent bb31e0e934
commit b1966067ea
20 files changed
+263 -106

No files matched your search

+3 -1
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.