WordPress.org

Make WordPress Core


Ignore:
Timestamp:
08/25/2020 12:57:17 AM (17 months 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/customize/nav-menus.php

    r47747 r48858  
    662662     * Test insert_auto_draft_post method.
    663663     *
    664      * @covers WP_Customize_Nav_Menus::insert_auto_draft_post()
     664     * @covers WP_Customize_Nav_Menus::insert_auto_draft_post
    665665     */
    666666    public function test_insert_auto_draft_post() {
     
    836836     * Test make_auto_draft_status_previewable.
    837837     *
    838      * @covers WP_Customize_Nav_Menus::make_auto_draft_status_previewable()
     838     * @covers WP_Customize_Nav_Menus::make_auto_draft_status_previewable
    839839     */
    840840    function test_make_auto_draft_status_previewable() {
     
    848848     * Test sanitize_nav_menus_created_posts.
    849849     *
    850      * @covers WP_Customize_Nav_Menus::sanitize_nav_menus_created_posts()
     850     * @covers WP_Customize_Nav_Menus::sanitize_nav_menus_created_posts
    851851     */
    852852    function test_sanitize_nav_menus_created_posts() {
     
    922922     * Test save_nav_menus_created_posts.
    923923     *
    924      * @covers WP_Customize_Nav_Menus::save_nav_menus_created_posts()
     924     * @covers WP_Customize_Nav_Menus::save_nav_menus_created_posts
    925925     */
    926926    function test_save_nav_menus_created_posts() {
     
    11151115     * Test the filter_wp_nav_menu method.
    11161116     *
    1117      * @covers WP_Customize_Nav_Menus::filter_wp_nav_menu()
    1118      * @covers WP_Customize_Nav_Menus::filter_wp_nav_menu_args()
     1117     * @covers WP_Customize_Nav_Menus::filter_wp_nav_menu
     1118     * @covers WP_Customize_Nav_Menus::filter_wp_nav_menu_args
    11191119     */
    11201120    function test_filter_wp_nav_menu() {
Note: See TracChangeset for help on using the changeset viewer.