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
This commit is contained in:
Sergey Biryukov 2020-02-01 21:11:08 +00:00
parent b3da2c99a1
commit 097f272455

View File

@ -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' );
}