From 097f272455199e65719b827dbdf6ec41f7e7cfb9 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 1 Feb 2020 21:11:08 +0000 Subject: [PATCH] Tests: Update the expected message in `test_with_draft_post()`. Follow-up to [47154]. See #42945. git-svn-id: https://develop.svn.wordpress.org/trunk@47155 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/tests/ajax/ReplytoComment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/tests/ajax/ReplytoComment.php b/tests/phpunit/tests/ajax/ReplytoComment.php index ea6c24d7f1..1499a26b2e 100644 --- a/tests/phpunit/tests/ajax/ReplytoComment.php +++ b/tests/phpunit/tests/ajax/ReplytoComment.php @@ -187,7 +187,7 @@ class Tests_Ajax_ReplytoComment extends WP_Ajax_UnitTestCase { $_POST['comment_post_ID'] = self::$draft_post->ID; // Make the request. - $this->setExpectedException( 'WPAjaxDieStopException', 'ERROR: you are replying to a comment on a draft post.' ); + $this->setExpectedException( 'WPAjaxDieStopException', 'ERROR: You are replying to a comment on a draft post.' ); $this->_handleAjax( 'replyto-comment' ); }