Opened 2 years ago
Closed 12 months ago
#16 closed defect (fixed)
MockPHPMailer cannot access $to, $cc, $bcc
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | Legacy - Improve Framework |
| Component: | Test Framework | Keywords: | |
| Cc: |
Description
Those three properties of the PHPMailer object are now defined as private making them inaccessible even to subclasses. This means that the MockPHPMailer Send method will always set the "You must provide at least one recipient email address." error and return false. This in turn causes TestMailFunctions? to fail as $mock_sent will not be set.
Change History (1)
Note: See
TracTickets for help on using
tickets.
Fixed a long while ago.