Changeset 53865 for trunk/tests/phpunit/tests/option/wpLoadAlloptions.php
- Timestamp:
- 08/08/2022 11:33:11 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/option/wpLoadAlloptions.php
r53494 r53865 13 13 } 14 14 15 /** 16 * @covers ::wp_cache_get 17 */ 15 18 public function test_if_alloptions_is_cached() { 16 19 $this->assertNotEmpty( wp_cache_get( 'alloptions', 'options' ) ); … … 19 22 /** 20 23 * @depends test_if_alloptions_is_cached 24 * 25 * @covers ::wp_cache_delete 21 26 */ 22 27 public function test_if_cached_alloptions_is_deleted() { … … 26 31 /** 27 32 * @depends test_if_alloptions_is_cached 33 * 34 * @covers ::wp_load_alloptions 28 35 */ 29 36 public function test_if_alloptions_are_retrieved_from_cache() { … … 39 46 /** 40 47 * @depends test_if_cached_alloptions_is_deleted 48 * 49 * @covers ::wp_load_alloptions 41 50 */ 42 51 public function test_if_alloptions_are_retrieved_from_database() { … … 56 65 /** 57 66 * @depends test_if_cached_alloptions_is_deleted 67 * 68 * @covers ::wp_load_alloptions 58 69 */ 59 70 public function test_filter_pre_cache_alloptions_is_called() { … … 82 93 /** 83 94 * @depends test_if_alloptions_is_cached 95 * 96 * @covers ::wp_load_alloptions 84 97 */ 85 98 public function test_filter_pre_cache_alloptions_is_not_called() {
Note: See TracChangeset
for help on using the changeset viewer.