[wp-trac] [WordPress Trac] #50377: phpunit tests fail with - Failed opening required class-phpmailer.php (2)
WordPress Trac
noreply at wordpress.org
Tue Jun 16 13:52:44 UTC 2020
#50377: phpunit tests fail with - Failed opening required class-phpmailer.php (2)
------------------------------+---------------------
Reporter: bwmarkle | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.5
Component: Build/Test Tools | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
------------------------------+---------------------
Changes (by desrosj):
* keywords: => has-patch
* version: => trunk
Comment:
Looked into this a bit. `ABSPATH` includes a trailing `/`.
[attachment:"50377.diff"] removes the extra `/` from the `require_once`
statements in the `MockPHPMailer` class.
Going to fix that and see if @bwmarkle's issue is resolved from that.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50377#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list