Skip to content

Commit

Permalink
Fix formatting in bootstrap file
Browse files Browse the repository at this point in the history
  • Loading branch information
alecgeatches committed May 22, 2024
1 parent b04fe45 commit de8631f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,12 @@ function _manually_load_plugin() {
tests_add_filter( 'muplugins_loaded', '_manually_load_plugin' );

// Allow wp_mail() in tests from a valid domain name
tests_add_filter( 'wp_mail_from', function() { return '[email protected]'; } );
tests_add_filter(
'wp_mail_from',
function () {
return '[email protected]';
}
);

// Start up the WP testing environment.
require "{$_tests_dir}/includes/bootstrap.php";

0 comments on commit de8631f

Please sign in to comment.