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

    r53807 r53865  
    1414    }
    1515
     16    /**
     17     * @covers ::get_transient
     18     * @covers ::set_transient
     19     * @covers ::delete_transient
     20     */
    1621    public function test_the_basics() {
    1722        $key    = 'key1';
     
    3035    }
    3136
     37    /**
     38     * @covers ::get_transient
     39     * @covers ::set_transient
     40     * @covers ::delete_transient
     41     */
    3242    public function test_serialized_data() {
    3343        $key   = rand_str();
     
    4858    /**
    4959     * @ticket 22807
     60     *
     61     * @covers ::get_option
     62     * @covers ::set_transient
     63     * @covers ::update_option
    5064     */
    5165    public function test_transient_data_with_timeout() {
     
    6983    /**
    7084     * @ticket 22807
     85     *
     86     * @covers ::set_transient
     87     * @covers ::get_transient
     88     * @covers ::get_option
     89     * @covers ::update_option
    7190     */
    7291    public function test_transient_add_timeout() {
     
    92111     *
    93112     * @ticket 30380
     113     *
     114     * @covers ::set_transient
     115     * @covers ::get_transient
    94116     */
    95117    public function test_nonexistent_key_dont_delete_if_false() {
     
    120142    /**
    121143     * @ticket 30380
     144     *
     145     * @covers ::set_transient
     146     * @covers ::get_transient
    122147     */
    123148    public function test_nonexistent_key_old_timeout() {
Note: See TracChangeset for help on using the changeset viewer.