diff --git a/tests/bootstrap-phpunit.php b/tests/bootstrap-phpunit.php index a3057ac..523f230 100644 --- a/tests/bootstrap-phpunit.php +++ b/tests/bootstrap-phpunit.php @@ -21,6 +21,15 @@ putenv( sprintf( 'WP_PHPUNIT__TESTS_CONFIG=%s/wp-tests-config.php', $wp_env_tests_dir ) ); } +global $wp_tests_options; // WP testing library uses this to define option values. + +$wp_tests_options = [ + 'active_plugins' => [ + 'contact-form-7-extras/plugin.php', + 'contact-form-7/wp-contact-form-7.php', + ], +]; + // Include all helper functions. require_once $wp_tests_dir . '/includes/functions.php';