diff --git a/tests/phpunit/tests/formatting/WpHtmlEditPre.php b/tests/phpunit/tests/formatting/WpHtmlEditPre.php index 82c7531f69..fa5402f3f1 100644 --- a/tests/phpunit/tests/formatting/WpHtmlEditPre.php +++ b/tests/phpunit/tests/formatting/WpHtmlEditPre.php @@ -2,6 +2,7 @@ /** * @group formatting + * @expectedDeprecated wp_htmledit_pre */ class Tests_Formatting_WpHtmlEditPre extends WP_UnitTestCase { diff --git a/tests/phpunit/tests/formatting/WpRichEditPre.php b/tests/phpunit/tests/formatting/WpRichEditPre.php index 06963c65e4..2f8a06f1bb 100644 --- a/tests/phpunit/tests/formatting/WpRichEditPre.php +++ b/tests/phpunit/tests/formatting/WpRichEditPre.php @@ -2,6 +2,7 @@ /** * @group formatting + * @expectedDeprecated wp_richedit_pre */ class Tests_Formatting_WpRichEditPre extends WP_UnitTestCase {