Make WordPress Core


Ignore:
Timestamp:
08/25/2020 12:57:17 AM (6 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/widgets/media-widget.php

    r48464 r48858  
    5151         * Test constructor.
    5252         *
    53          * @covers WP_Widget_Media::__construct()
    54          * @covers WP_Widget_Media::_register()
     53         * @covers WP_Widget_Media::__construct
     54         * @covers WP_Widget_Media::_register
    5555         */
    5656        function test_constructor() {
    … …  
    107107         *
    108108         * @global WP_Customize_Manager $wp_customize
    109          * @covers WP_Widget_Media::__construct()
    110          * @covers WP_Widget_Media::_register()
     109         * @covers WP_Widget_Media::__construct
     110         * @covers WP_Widget_Media::_register
    111111         */
    112112        function test_constructor_in_customize_preview() {
    … …  
    229229         * Test update method.
    230230         *
    231          * @covers WP_Widget_Media::update()
     231         * @covers WP_Widget_Media::update
    232232         */
    233233        function test_update() {
    … …  
    315315         * Test widget method.
    316316         *
    317          * @covers WP_Widget_Media::widget()
    318          * @covers WP_Widget_Media::render_media()
     317         * @covers WP_Widget_Media::widget
     318         * @covers WP_Widget_Media::render_media
    319319         */
    320320        function test_widget() {
    … …  
    390390         * Test form method.
    391391         *
    392          * @covers WP_Widget_Media::form()
     392         * @covers WP_Widget_Media::form
    393393         */
    394394        function test_form() {
    … …  
    407407         * Test display_media_state method.
    408408         *
    409          * @covers WP_Widget_Media::display_media_state()
     409         * @covers WP_Widget_Media::display_media_state
    410410         */
    411411        function test_display_media_state() {
    … …  
    449449         * Test enqueue_admin_scripts method.
    450450         *
    451          * @covers WP_Widget_Media::enqueue_admin_scripts()
     451         * @covers WP_Widget_Media::enqueue_admin_scripts
    452452         */
    453453        function test_enqueue_admin_scripts() {
    … …  
    477477         * Test has_content method.
    478478         *
    479          * @covers WP_Widget_Media::has_content()
     479         * @covers WP_Widget_Media::has_content
    480480         */
    481481        function test_has_content() {
Note: See TracChangeset for help on using the changeset viewer.