Changeset 53561 for trunk/tests/phpunit/tests/ajax/ReplytoComment.php
- Timestamp:
- 06/23/2022 07:45:24 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/ajax/ReplytoComment.php
r53337 r53561 13 13 * @since 3.4.0 14 14 * @group ajax 15 * 16 * @covers ::wp_ajax_replyto_comment 15 17 */ 16 18 class Tests_Ajax_ReplytoComment extends WP_Ajax_UnitTestCase { … … 187 189 // Make the request. 188 190 $this->expectException( 'WPAjaxDieStopException' ); 189 $this->expectExceptionMessage( ' You cannot reply to a comment on a draft post.' );191 $this->expectExceptionMessage( 'Error: You cannot reply to a comment on a draft post.' ); 190 192 $this->_handleAjax( 'replyto-comment' ); 191 193 }
Note: See TracChangeset
for help on using the changeset viewer.