Make WordPress Core


Ignore:
Timestamp:
08/08/2022 11:33:11 PM (3 years ago)
Author:
azaozz
Message:

Build/Test Tools: Add @covers tags to the options tests.

Props pbearne, jrf, hellofromTonya, patopaiar, ironprogrammer, antonvlasenko, SergeyBiryukov, costdev.
See #39265.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/option/userSettings.php

    r53494 r53865  
    2525    }
    2626
     27    /**
     28     * @covers ::get_user_setting
     29     * @covers ::get_all_user_settings
     30     * @covers ::wp_set_all_user_settings
     31     */
    2732    public function test_set_user_setting() {
    2833        $foo = get_user_setting( 'foo' );
     
    3540    }
    3641
     42    /**
     43     * @covers ::get_user_setting
     44     * @covers ::get_all_user_settings
     45     * @covers ::wp_set_all_user_settings
     46     */
    3747    public function test_set_user_setting_dashes() {
    3848        $foo = get_user_setting( 'foo' );
     
    4555    }
    4656
     57    /**
     58     * @covers ::get_user_setting
     59     * @covers ::get_all_user_settings
     60     * @covers ::wp_set_all_user_settings
     61     */
    4762    public function test_set_user_setting_strip_asterisks() {
    4863        $foo = get_user_setting( 'foo' );
Note: See TracChangeset for help on using the changeset viewer.