Changeset 59592 for trunk/tests/phpunit/includes/bootstrap.php
- Timestamp:
- 01/08/2025 12:52:04 PM (4 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/includes/bootstrap.php
r59326 r59592 247 247 $multisite = $multisite || ( defined( 'MULTISITE' ) && MULTISITE ); 248 248 249 // Override the PHPMailer.250 require_once __DIR__ . '/mock-mailer.php';251 $phpmailer = new MockPHPMailer( true );252 253 249 if ( ! defined( 'WP_DEFAULT_THEME' ) ) { 254 250 define( 'WP_DEFAULT_THEME', 'default' ); … … 305 301 // Load WordPress. 306 302 require_once ABSPATH . 'wp-settings.php'; 303 304 // Override the PHPMailer. 305 require_once __DIR__ . '/mock-mailer.php'; 306 307 $phpmailer = new MockPHPMailer( true ); 307 308 308 309 // Delete any default posts & related data.
Note: See TracChangeset
for help on using the changeset viewer.