diff --git a/tests/phpunit/tests/mail.php b/tests/phpunit/tests/mail.php index c8a435b904..25c49c1c84 100644 --- a/tests/phpunit/tests/mail.php +++ b/tests/phpunit/tests/mail.php @@ -20,7 +20,7 @@ class Tests_Mail extends WP_UnitTestCase { */ function test_wp_mail_break_it() { $content = str_repeat( 'A', 1000 ); - wp_mail( WP_TESTS_EMAIL, 'Looong line testing', $content); + $this->assertTrue( wp_mail( WP_TESTS_EMAIL, 'Looong line testing', $content ) ); } function test_wp_mail_custom_boundaries() {