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-video-widget.php

    r46586 r48858  
    3030     * Test get_instance_schema method.
    3131     *
    32      * @covers WP_Widget_Media_Video::get_instance_schema()
     32     * @covers WP_Widget_Media_Video::get_instance_schema
    3333     */
    3434    function test_get_instance_schema() {
     
    8787     * Test constructor.
    8888     *
    89      * @covers WP_Widget_Media_Video::__construct()
     89     * @covers WP_Widget_Media_Video::__construct
    9090     */
    9191    function test_constructor() {
     
    116116     * Test get_instance_schema method.
    117117     *
    118      * @covers WP_Widget_Media_Video::update()
     118     * @covers WP_Widget_Media_Video::update
    119119     */
    120120    function test_update() {
     
    216216     * Test render_media method.
    217217     *
    218      * @covers WP_Widget_Media_Video::render_media()
    219      * @covers WP_Widget_Media_Video::inject_video_max_width_style()
     218     * @covers WP_Widget_Media_Video::render_media
     219     * @covers WP_Widget_Media_Video::inject_video_max_width_style
    220220     */
    221221    function test_render_media() {
     
    304304     * @global WP_Scripts $wp_scripts
    305305     * @global WP_Styles $wp_styles
    306      * @covers WP_Widget_Media_Video::enqueue_preview_scripts()
     306     * @covers WP_Widget_Media_Video::enqueue_preview_scripts
    307307     */
    308308    function test_enqueue_preview_scripts() {
     
    329329     * Test enqueue_admin_scripts method.
    330330     *
    331      * @covers WP_Widget_Media_Video::enqueue_admin_scripts()
     331     * @covers WP_Widget_Media_Video::enqueue_admin_scripts
    332332     */
    333333    function test_enqueue_admin_scripts() {
     
    342342     * Test render_control_template_scripts method.
    343343     *
    344      * @covers WP_Widget_Media_Video::render_control_template_scripts()
     344     * @covers WP_Widget_Media_Video::render_control_template_scripts
    345345     */
    346346    function test_render_control_template_scripts() {
Note: See TracChangeset for help on using the changeset viewer.