[wp-trac] [WordPress Trac] #39265: Missing @covers in the comment blocks in PHPUnit tests

WordPress Trac noreply at wordpress.org
Thu Jun 23 21:37:03 UTC 2022


#39265: Missing @covers in the comment blocks in PHPUnit tests
-------------------------------------------+-----------------------------
 Reporter:  pbearne                        |       Owner:  hellofromTonya
     Type:  task (blessed)                 |      Status:  reviewing
 Priority:  normal                         |   Milestone:  6.1
Component:  Build/Test Tools               |     Version:  4.8
 Severity:  normal                         |  Resolution:
 Keywords:  php8 has-patch has-unit-tests  |     Focuses:
-------------------------------------------+-----------------------------

Comment (by SergeyBiryukov):

 In [changeset:"53565" 53565]:
 {{{
 #!CommitTicketReference repository="" revision="53565"
 Tests: Correct the expected result for `wp_ajax_replyto_comment()` test
 with a draft post.

 The "Error:" prefix was previously removed and accidentally re-added with
 `@covers` tags.

 Follow-up to [53337], [53561].

 See #39265.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/39265#comment:92>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list