Changeset 321 in tests
- Timestamp:
- 12/15/2010 12:22:12 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
wp-testcase/test_includes_pluggable.php
r302 r321 88 88 89 89 unset($GLOBALS['phpmailer']->mock_sent); 90 $_SERVER['SERVER_NAME'] = 'example.com'; 90 91 wp_mail($to, $subject, $body, $headers); 91 92 … … 94 95 $this->assertTrue(strpos($GLOBALS['phpmailer']->mock_sent[0]['header'], 'boundary="----=_Part_4892_25692638.1192452070893"') > 0); 95 96 $this->assertTrue(strpos($GLOBALS['phpmailer']->mock_sent[0]['header'], 'charset=""') > 0); 97 unset( $_SERVER['SERVER_NAME'] ); 96 98 } 97 99
Note: See TracChangeset
for help on using the changeset viewer.