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:
parent
b3da2c99a1
commit
097f272455
@ -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' );
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user