Changeset 764 in tests
- Timestamp:
- 06/30/2012 05:41:01 PM (14 years ago)
- Location:
- trunk/wp-testlib
- Files:
-
- 1 deleted
- 1 edited
-
class-phpmailer.php (deleted)
-
mock-mailer.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-testlib/mock-mailer.php
r492 r764 1 1 <?php 2 2 3 if ( version_compare( $GLOBALS['wp_version'], '3.1.9', '>' ) && version_compare( $GLOBALS['wp_version'], '3.3.9', '<' ) ) { 4 echo "Using custom build of PHPMailer for 3.2 and 3.3 testing\n\n"; 5 require_once(DIR_TESTROOT . '/wp-testlib/class-phpmailer.php'); 6 } else { 7 require_once(ABSPATH . '/wp-includes/class-phpmailer.php'); 8 } 9 3 require_once(ABSPATH . '/wp-includes/class-phpmailer.php'); 4 10 5 class MockPHPMailer extends PHPMailer { 11 6 var $mock_sent = array();
Note: See TracChangeset
for help on using the changeset viewer.