Build/Test Tools: Prevent double /s when including PHPMailer files.

`ABSPATH` includes a trailing slash already.

Follow up of [48033].
Props desrosj.
See #50377, #41750.

git-svn-id: https://develop.svn.wordpress.org/trunk@48058 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jonathan Desrosiers 2020-06-16 13:57:05 +00:00
parent 727249cfc6
commit 6334056f65

View File

@ -1,6 +1,6 @@
<?php
require_once ABSPATH . '/wp-includes/PHPMailer/PHPMailer.php';
require_once ABSPATH . '/wp-includes/PHPMailer/Exception.php';
require_once ABSPATH . 'wp-includes/PHPMailer/PHPMailer.php';
require_once ABSPATH . 'wp-includes/PHPMailer/Exception.php';
class MockPHPMailer extends PHPMailer\PHPMailer\PHPMailer {
var $mock_sent = array();