Make WordPress Core


Ignore:
Timestamp:
08/25/2020 12:57:17 AM (4 years ago)
Author:
SergeyBiryukov
Message:

Tests: Clean up some existing @covers tags.

The () at the end is unnecessary and disregarded by PHPUnit, so can be removed.

Props jrf.
See #39265.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/post/types.php

    r47381 r48858  
    6969    /**
    7070     * @ticket 35985
    71      * @covers ::register_post_type()
     71     * @covers ::register_post_type
    7272     */
    7373    function test_register_post_type_exclude_from_search_should_default_to_opposite_value_of_public() {
     
    8383    /**
    8484     * @ticket 35985
    85      * @covers ::register_post_type()
     85     * @covers ::register_post_type
    8686     */
    8787    function test_register_post_type_publicly_queryable_should_default_to_value_of_public() {
     
    9797    /**
    9898     * @ticket 35985
    99      * @covers ::register_post_type()
     99     * @covers ::register_post_type
    100100     */
    101101    function test_register_post_type_show_ui_should_default_to_value_of_public() {
     
    111111    /**
    112112     * @ticket 35985
    113      * @covers ::register_post_type()
     113     * @covers ::register_post_type
    114114     */
    115115    function test_register_post_type_show_in_menu_should_default_to_value_of_show_ui() {
     
    130130    /**
    131131     * @ticket 35985
    132      * @covers ::register_post_type()
     132     * @covers ::register_post_type
    133133     */
    134134    function test_register_post_type_show_in_nav_menus_should_default_to_value_of_public() {
     
    144144    /**
    145145     * @ticket 35985
    146      * @covers ::register_post_type()
     146     * @covers ::register_post_type
    147147     */
    148148    function test_register_post_type_show_in_admin_bar_should_default_to_value_of_show_in_menu() {
Note: See TracChangeset for help on using the changeset viewer.