Changeset 48033 for trunk/tests/phpunit/tests/mail.php
- Timestamp:
- 06/12/2020 03:45:30 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/mail.php
r47122 r48033 82 82 // We need some better assertions here but these catch the failure for now. 83 83 $this->assertEquals( $body, $mailer->get_sent()->body ); 84 $this->assertTrue( strpos( $mailer->get_sent()->header, 'boundary="----=_Part_4892_25692638.1192452070893"' ) > 0 );84 $this->assertTrue( strpos( iconv_mime_decode_headers( ( $mailer->get_sent()->header ) )['Content-Type'][0], 'boundary="----=_Part_4892_25692638.1192452070893"' ) > 0 ); 85 85 $this->assertTrue( strpos( $mailer->get_sent()->header, 'charset=' ) > 0 ); 86 86 }
Note: See TracChangeset
for help on using the changeset viewer.