Skip to content

Commit

Permalink
Activate the plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
kasparsd committed Dec 16, 2024
1 parent 90f6c2a commit 5387bc9
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/bootstrap-phpunit.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down

0 comments on commit 5387bc9

Please sign in to comment.