Make WordPress Core


Ignore:
Timestamp:
08/08/2022 11:33:11 PM (4 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/siteTransient.php

    r52010 r53865  
    1414        }
    1515
     16        /**
     17         * @covers ::get_site_transient
     18         * @covers ::set_site_transient
     19         * @covers ::delete_site_transient
     20         */
    1621        public function test_the_basics() {
    1722                $key    = 'key1';
    … …  
    3035        }
    3136
     37        /**
     38         * @covers ::get_site_transient
     39         * @covers ::set_site_transient
     40         * @covers ::delete_site_transient
     41         */
    3242        public function test_serialized_data() {
    3343                $key   = __FUNCTION__;
    … …  
    4959         * @ticket 22846
    5060         * @group ms-excluded
     61         *
     62         * @covers ::set_site_transient
     63         * @covers ::wp_load_alloptions
    5164         */
    5265        public function test_set_site_transient_is_not_stored_as_autoload_option() {
Note: See TracChangeset for help on using the changeset viewer.