[wp-trac] [WordPress Trac] #50377: phpunit tests fail with - Failed opening required class-phpmailer.php (2)
WordPress Trac
noreply at wordpress.org
Fri Jun 12 17:53:09 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: Awaiting Review
Component: Build/Test Tools | Version:
Severity: normal | Keywords:
Focuses: |
------------------------------+-----------------------------
This is a follow-up to #49377.
I made **that** ticket because of this error:
{{{
PHP Fatal error:
require_once():
Failed opening required '/tmp/wordpress-tests-lib/src//wp-includes
/class-phpmailer.php'
(include_path='.:/home/travis/.phpenv/versions/7.1.11/share/pear')
in /tmp/wordpress-tests-lib/includes/mock-mailer.php on line 2
}}}
4 months later, it looks like another similar error is happening:
{{{
Fatal error:
require_once():
Failed opening required '/tmp/wordpress//wp-
includes/PHPMailer/PHPMailer.php'
(include_path='.:/home/travis/.phpenv/versions/7.1.11/share/pear')
in /tmp/wordpress-tests-lib/includes/mock-mailer.php on line 2
}}}
I resolved this issue in my automated builds by once again reverting to
the 5.2 content, which leads me to believe it's a similar issue:
{{{
# phpunit tests temporarily changed from "trunk" to "5.2". They should be
reverted after a resolution
# is found here: https://core.trac.wordpress.org/ticket/49377#ticket
# svn co --quiet
https://develop.svn.wordpress.org/trunk/tests/phpunit/includes/
# wget -nv -O wp-tests-config.php https://develop.svn.wordpress.org/trunk
/wp-tests-config-sample.php
svn co --quiet
https://develop.svn.wordpress.org/branches/5.2/tests/phpunit/includes/
wget -nv -O wp-tests-config.php
https://develop.svn.wordpress.org/branches/5.2/wp-tests-config-sample.php
}}}
Any thoughts?
Thanks!
\- Brad
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50377>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list