Skip to content

Commit 883983c

Browse files
committed
Fixing this test, why using iconv_mime_decode_headers?
1 parent 9787007 commit 883983c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/phpunit/tests/pluggable/wpMail.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public function test_wp_mail_custom_boundaries() {
8383

8484
// We need some better assertions here but these catch the failure for now.
8585
$this->assertSameIgnoreEOL( $body, $mailer->get_sent()->body );
86-
$this->assertStringContainsString( 'boundary="----=_Part_4892_25692638.1192452070893"', iconv_mime_decode_headers( ( $mailer->get_sent()->header ) )['Content-Type'][0] );
86+
$this->assertStringContainsString( 'boundary="----=_Part_4892_25692638.1192452070893"', $mailer->get_sent()->header );
8787
$this->assertStringContainsString( 'charset=', $mailer->get_sent()->header );
8888
}
8989

0 commit comments

Comments
 (0)