Make WordPress Core


Ignore:
Timestamp:
06/23/2022 07:45:24 PM (3 years ago)
Author:
azaozz
Message:

Build/Test Tools: Add missing @covers tags for the AJAX test group.

Props pbeane, hellofromTonya, antonvlasenko, ironprogrammer, SergeyBiryukov, costdev.
See #39265.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/ajax/ReplytoComment.php

    r53337 r53561  
    1313 * @since      3.4.0
    1414 * @group      ajax
     15 *
     16 * @covers ::wp_ajax_replyto_comment
    1517 */
    1618class Tests_Ajax_ReplytoComment extends WP_Ajax_UnitTestCase {
     
    187189        // Make the request.
    188190        $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.' );
    190192        $this->_handleAjax( 'replyto-comment' );
    191193    }
Note: See TracChangeset for help on using the changeset viewer.