WordPress.org

Make WordPress Core

#24662 closed defect (bug) (fixed)

Unit Tests: Re-implement the mock PHPMailer

Reported by: ocean90 Owned by: SergeyBiryukov
Milestone: 3.6 Priority: normal
Severity: normal Version:
Component: Unit Tests Keywords: has-patch
Focuses: Cc:

Description

Follow-up: #UT47

I would like to get this work again, especially for #23642.

Attachments (3)

24662.patch (2.4 KB) - added by ocean90 10 months ago.
24662.2.patch (3.0 KB) - added by ocean90 10 months ago.
24662.3.patch (3.4 KB) - added by ocean90 10 months ago.
Align mock_sent and add $phpmailer to the list of global vars

Download all attachments as: .zip

Change History (7)

ocean9010 months ago

ocean9010 months ago

ocean9010 months ago

Align mock_sent and add $phpmailer to the list of global vars

comment:1 follow-up: ocean9010 months ago

The change to test_wp_mail_custom_boundaries() is needed because of a change in PHPMailer 5.2.2, see https://code.google.com/a/apache-extras.org/p/phpmailer/source/browse/tags/5.2.2/changelog.txt#50

comment:2 iandunn10 months ago

  • Cc ian.dunn@… added

comment:4 SergeyBiryukov10 months ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to closed

In 1300/tests:

Re-implement the mock PHPMailer. props ocean90. fixes #24662.

Note: See TracTickets for help on using tickets.