Changeset 1300 in tests for trunk/tests/mail.php
- Timestamp:
- 06/29/2013 10:31:15 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/mail.php
r909 r1300 4 4 * @group pluggable 5 5 * @group mail 6 * @ticket UT477 6 */ 8 7 class Tests_Mail extends WP_UnitTestCase { … … 66 65 $this->assertEquals($body, $GLOBALS['phpmailer']->mock_sent[0]['body']); 67 66 $this->assertTrue(strpos($GLOBALS['phpmailer']->mock_sent[0]['header'], 'boundary="----=_Part_4892_25692638.1192452070893"') > 0); 68 $this->assertTrue(strpos($GLOBALS['phpmailer']->mock_sent[0]['header'], 'charset= ""') > 0);67 $this->assertTrue(strpos($GLOBALS['phpmailer']->mock_sent[0]['header'], 'charset=') > 0); 69 68 unset( $_SERVER['SERVER_NAME'] ); 70 69 }
Note: See TracChangeset
for help on using the changeset viewer.