WordPress.org

Make WordPress Core


Ignore:
Timestamp:
08/25/2020 12:57:17 AM (3 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/custom-css-setting.php

    r46586 r48858  
    7676     * Also checks for the post type and the Setting Type.
    7777     *
    78      * @covers WP_Customize_Custom_CSS_Setting::__construct()
     78     * @covers WP_Customize_Custom_CSS_Setting::__construct
    7979     */
    8080    function test_construct() {
     
    107107     *
    108108     * @covers ::wp_get_custom_css
    109      * @covers WP_Customize_Custom_CSS_Setting::value()
    110      * @covers WP_Customize_Custom_CSS_Setting::preview()
    111      * @covers WP_Customize_Custom_CSS_Setting::update()
     109     * @covers WP_Customize_Custom_CSS_Setting::value
     110     * @covers WP_Customize_Custom_CSS_Setting::preview
     111     * @covers WP_Customize_Custom_CSS_Setting::update
    112112     */
    113113    function test_crud() {
     
    267267     * Test crud methods on WP_Customize_Custom_CSS_Setting.
    268268     *
    269      * @covers WP_Customize_Custom_CSS_Setting::value()
     269     * @covers WP_Customize_Custom_CSS_Setting::value
    270270     */
    271271    function test_value_filter() {
     
    307307     * Test update filter on WP_Customize_Custom_CSS_Setting.
    308308     *
    309      * @covers WP_Customize_Custom_CSS_Setting::update()
     309     * @covers WP_Customize_Custom_CSS_Setting::update
    310310     */
    311311    function test_update_filter() {
     
    365365     * as it picks up the Errors and passes them to the next assertion.
    366366     *
    367      * @covers WP_Customize_Custom_CSS_Setting::validate()
     367     * @covers WP_Customize_Custom_CSS_Setting::validate
    368368     */
    369369    function test_validate() {
Note: See TracChangeset for help on using the changeset viewer.