Skip to content

Commit 25613fa

Browse files
committed
Ensure phpmailer is loaded
1 parent 79f5e67 commit 25613fa

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## v0.12.14 - 2025-03-04
9+
10+
### Fixed
11+
12+
- Ensure that `PHPMailer\PHPMailer\Exception` is properly loaded during unit tests
13+
when installing WordPress.
14+
815
## v0.12.13 - 2024-05-07
916

1017
### Fixed

src/mantle/testing/doubles/class-mockphpmailer.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
}
1010

1111
require_once ABSPATH . '/wp-includes/PHPMailer/PHPMailer.php';
12+
require_once ABSPATH . '/wp-includes/PHPMailer/Exception.php';
1213

1314
class MockPHPMailer extends \PHPMailer\PHPMailer\PHPMailer {
1415
var $mock_sent = array();

0 commit comments

Comments
 (0)