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/sanitizeOption.php

    r53494 r53865  
    8282    /**
    8383     * @dataProvider sanitize_option_provider
     84     *
     85     * @covers ::sanitize_option
    8486     */
    8587    public function test_sanitize_option( $option_name, $sanitized, $original ) {
     
    98100    /**
    99101     * @dataProvider upload_path_provider
     102     *
     103     * @covers ::sanitize_option
    100104     */
    101105    public function test_sanitize_option_upload_path( $provided, $expected ) {
     
    105109    /**
    106110     * @ticket 36122
     111     *
     112     * @covers ::sanitize_option
    107113     */
    108114    public function test_emoji_in_blogname_and_description() {
     
    123129    /**
    124130     * @dataProvider permalink_structure_provider
     131     *
     132     * @covers ::sanitize_option
     133     * @covers ::get_settings_errors
    125134     */
    126135    public function test_sanitize_permalink_structure( $provided, $expected, $valid ) {
Note: See TracChangeset for help on using the changeset viewer.