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/widgets/media-gallery-widget.php

    r48464 r48858  
    3030     * Test get_instance_schema method.
    3131     *
    32      * @covers WP_Widget_Media_Gallery::get_instance_schema()
     32     * @covers WP_Widget_Media_Gallery::get_instance_schema
    3333     */
    3434    public function test_get_instance_schema() {
     
    5252     * Test update() method.
    5353     *
    54      * @covers WP_Widget_Media_Gallery::render_media()
     54     * @covers WP_Widget_Media_Gallery::render_media
    5555     */
    5656    public function test_render_media() {
     
    9090     * Test enqueue_admin_scripts() method.
    9191     *
    92      * @covers WP_Widget_Media_Gallery::enqueue_admin_scripts()
     92     * @covers WP_Widget_Media_Gallery::enqueue_admin_scripts
    9393     */
    9494    public function test_enqueue_admin_scripts() {
     
    109109     * Test update() method.
    110110     *
    111      * @covers WP_Widget_Media_Gallery::update()
     111     * @covers WP_Widget_Media_Gallery::update
    112112     */
    113113    public function test_update() {
     
    190190     * Test render_control_template_scripts() method.
    191191     *
    192      * @covers WP_Widget_Media_Gallery::render_control_template_scripts()
     192     * @covers WP_Widget_Media_Gallery::render_control_template_scripts
    193193     */
    194194    public function test_render_control_template_scripts() {
Note: See TracChangeset for help on using the changeset viewer.