WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#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 5 years ago.
24662.2.patch (3.0 KB) - added by ocean90 5 years ago.
24662.3.patch (3.4 KB) - added by ocean90 5 years ago.
Align mock_sent and add $phpmailer to the list of global vars

Download all attachments as: .zip

Change History (7)

@ocean90
5 years ago

@ocean90
5 years ago

@ocean90
5 years ago

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

#1 follow-up: @ocean90
5 years 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

#2 @iandunn
5 years ago

  • Cc ian.dunn@… added

#4 @SergeyBiryukov
5 years 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.