From de8631f04bfd1815d634f48f2f76c2cbb5901626 Mon Sep 17 00:00:00 2001 From: Alec Geatches Date: Wed, 22 May 2024 14:31:58 -0600 Subject: [PATCH] Fix formatting in bootstrap file --- tests/bootstrap.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/bootstrap.php b/tests/bootstrap.php index 3d21f464..85954cf6 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -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 'admin@localhost.test'; } ); +tests_add_filter( + 'wp_mail_from', + function () { + return 'admin@localhost.test'; + } +); // Start up the WP testing environment. require "{$_tests_dir}/includes/bootstrap.php";