Changeset 53865
- Timestamp:
- 08/08/2022 11:33:11 PM (2 years ago)
- Location:
- trunk/tests/phpunit/tests/option
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/option/multisite.php
r53494 r53865 12 12 class Tests_Option_Multisite extends WP_UnitTestCase { 13 13 14 /** 15 * @covers ::get_blog_option 16 * @covers ::get_option 17 * @covers ::add_blog_option 18 * @covers ::update_blog_option 19 * @covers ::delete_blog_option 20 */ 14 21 public function test_from_same_site() { 15 22 $key = __FUNCTION__ . '_1'; … … 49 56 } 50 57 58 /** 59 * @covers ::get_blog_option 60 * @covers ::get_option 61 * @covers ::add_blog_option 62 * @covers ::update_blog_option 63 * @covers ::delete_blog_option 64 */ 51 65 public function test_from_same_site_with_null_blog_id() { 52 66 $key = __FUNCTION__ . '_1'; … … 85 99 } 86 100 101 /** 102 * @covers ::get_blog_option 103 * @covers ::get_option 104 * @covers ::add_blog_option 105 * @covers ::update_blog_option 106 * @covers ::delete_blog_option 107 */ 87 108 public function test_with_another_site() { 88 109 $user_id = self::factory()->user->create(); … … 134 155 /** 135 156 * @group multisite 157 * 158 * @covers ::get_site_option 136 159 */ 137 160 public function test_site_notoptions() { … … 152 175 } 153 176 177 /** 178 * @covers ::users_can_register_signup_filter 179 * @covers ::get_site_option 180 */ 154 181 public function test_users_can_register_signup_filter() { 155 182 156 $registration =get_site_option( 'registration' );183 get_site_option( 'registration' ); 157 184 $this->assertFalse( users_can_register_signup_filter() ); 158 185 … … 169 196 /** 170 197 * @dataProvider data_illegal_names 198 * 199 * @covers ::update_site_option 200 * @covers ::get_site_option 171 201 */ 172 202 public function test_sanitize_network_option_illegal_names( $option_value, $sanitized_option_value ) { … … 188 218 * @param $option_value 189 219 * @param $sanitized_option_value 220 * 221 * @covers ::update_site_option 222 * @covers ::get_site_option 190 223 */ 191 224 public function test_sanitize_network_option_limited_email_domains( $option_value, $sanitized_option_value ) { … … 199 232 * @param $option_value 200 233 * @param $sanitized_option_value 234 * 235 * @covers ::update_site_option 236 * @covers ::get_site_option 201 237 */ 202 238 public function test_sanitize_network_option_banned_email_domains( $option_value, $sanitized_option_value ) { -
trunk/tests/phpunit/tests/option/networkOption.php
r52010 r53865 15 15 /** 16 16 * @group ms-required 17 * 18 * @covers ::add_site_option 17 19 */ 18 20 public function test_add_network_option_not_available_on_other_network() { … … 27 29 /** 28 30 * @group ms-required 31 * 32 * @covers ::add_network_option 29 33 */ 30 34 public function test_add_network_option_available_on_same_network() { … … 39 43 /** 40 44 * @group ms-required 45 * 46 * @covers ::delete_site_option 41 47 */ 42 48 public function test_delete_network_option_on_only_one_network() { … … 54 60 * @ticket 22846 55 61 * @group ms-excluded 62 * 63 * @covers ::add_network_option 56 64 */ 57 65 public function test_add_network_option_is_not_stored_as_autoload_option() { … … 68 76 * @ticket 22846 69 77 * @group ms-excluded 78 * 79 * @covers ::update_network_option 70 80 */ 71 81 public function test_update_network_option_is_not_stored_as_autoload_option() { … … 84 94 * @param $network_id 85 95 * @param $expected_response 96 * 97 * @covers ::add_network_option 86 98 */ 87 99 public function test_add_network_option_network_id_parameter( $network_id, $expected_response ) { … … 97 109 * @param $network_id 98 110 * @param $expected_response 111 * 112 * @covers ::get_network_option 99 113 */ 100 114 public function test_get_network_option_network_id_parameter( $network_id, $expected_response ) { … … 126 140 * @ticket 43506 127 141 * @group ms-required 142 * 143 * @covers ::get_network_option 144 * @covers ::wp_cache_get 145 * @covers ::wp_cache_delete 128 146 */ 129 147 public function test_get_network_option_sets_notoptions_if_option_found() { … … 150 168 * @ticket 43506 151 169 * @group ms-required 170 * 171 * @covers ::get_network_option 172 * @covers ::wp_cache_get 152 173 */ 153 174 public function test_get_network_option_sets_notoptions_if_option_not_found() { … … 175 196 * 176 197 * @ticket 44956 198 * 199 * @covers ::update_network_option 177 200 */ 178 201 public function test_update_network_option_array_with_object() { -
trunk/tests/phpunit/tests/option/option.php
r53494 r53865 10 10 } 11 11 12 /** 13 * @covers ::get_option 14 * @covers ::add_option 15 * @covers ::update_option 16 * @covers ::delete_option 17 */ 12 18 public function test_the_basics() { 13 19 $key = 'key1'; … … 35 41 } 36 42 43 /** 44 * @covers ::get_option 45 * @covers ::add_option 46 * @covers ::delete_option 47 */ 37 48 public function test_default_filter() { 38 49 $value = 'value'; … … 62 73 /** 63 74 * @ticket 31047 75 * 76 * @covers ::get_option 77 * @covers ::add_option 64 78 */ 65 79 public function test_add_option_should_respect_default_option_filter() { … … 72 86 } 73 87 88 /** 89 * @covers ::get_option 90 * @covers ::add_option 91 * @covers ::delete_option 92 * @covers ::update_option 93 */ 74 94 public function test_serialized_data() { 75 95 $key = __FUNCTION__; … … 94 114 * 95 115 * @param mixed $option_name Option name. 116 * 117 * @covers ::get_option 96 118 */ 97 119 public function test_get_option_bad_option_name( $option_name ) { … … 105 127 * 106 128 * @param mixed $option_name Option name. 129 * 130 * @covers ::add_option 107 131 */ 108 132 public function test_add_option_bad_option_name( $option_name ) { … … 116 140 * 117 141 * @param mixed $option_name Option name. 142 * 143 * @covers ::update_option 118 144 */ 119 145 public function test_update_option_bad_option_name( $option_name ) { … … 127 153 * 128 154 * @param mixed $option_name Option name. 155 * 156 * @covers ::delete_option 129 157 */ 130 158 public function test_delete_option_bad_option_name( $option_name ) { … … 155 183 * 156 184 * @param mixed $option_name Option name. 185 * 186 * @covers ::get_option 157 187 */ 158 188 public function test_get_option_valid_but_undesired_option_names( $option_name ) { … … 166 196 * 167 197 * @param mixed $option_name Option name. 198 * 199 * @covers ::add_option 168 200 */ 169 201 public function test_add_option_valid_but_undesired_option_names( $option_name ) { … … 177 209 * 178 210 * @param mixed $option_name Option name. 211 * 212 * @covers ::update_option 179 213 */ 180 214 public function test_update_option_valid_but_undesired_option_names( $option_name ) { … … 188 222 * 189 223 * @param mixed $option_name Option name. 224 * 225 * @covers ::delete_option 190 226 */ 191 227 public function test_delete_option_valid_but_undesired_option_names( $option_name ) { … … 211 247 /** 212 248 * @ticket 23289 249 * 250 * @covers ::delete_option 213 251 */ 214 252 public function test_special_option_name_alloption() { … … 219 257 /** 220 258 * @ticket 23289 259 * 260 * @covers ::delete_option 221 261 */ 222 262 public function test_special_option_name_notoptions() { … … 230 270 * @ticket 31119 231 271 * @dataProvider data_option_autoloading 272 * 273 * @covers ::add_option 232 274 */ 233 275 public function test_option_autoloading( $name, $autoload_value, $expected ) { -
trunk/tests/phpunit/tests/option/registration.php
r48937 r53865 5 5 */ 6 6 class Tests_Option_Registration extends WP_UnitTestCase { 7 8 /** 9 * @covers ::register_setting 10 */ 7 11 public function test_register() { 8 12 register_setting( 'test_group', 'test_option' ); … … 20 24 } 21 25 26 /** 27 * @covers ::register_setting 28 * @covers ::apply_filters 29 */ 22 30 public function test_register_with_callback() { 23 31 register_setting( 'test_group', 'test_option', array( $this, 'filter_registered_setting' ) ); … … 27 35 } 28 36 37 /** 38 * @covers ::register_setting 39 * @covers WP_REST_Settings_Controller 40 * @covers ::apply_filters 41 */ 29 42 public function test_register_with_array() { 30 43 register_setting( … … 46 59 /** 47 60 * @ticket 38176 61 * 62 * @covers ::register_setting 48 63 */ 49 64 public function test_register_with_default() { … … 61 76 /** 62 77 * @ticket 38176 78 * 79 * @covers ::register_setting 63 80 */ 64 81 public function test_register_with_default_override() { … … 78 95 /** 79 96 * @ticket 38930 97 * 98 * @covers ::register_setting 99 * @covers ::add_option 100 * @covers ::get_option 80 101 */ 81 102 public function test_add_option_with_no_options_cache() { … … 94 115 /** 95 116 * @expectedDeprecated register_setting 117 * 118 * @covers ::register_setting 96 119 */ 97 120 public function test_register_deprecated_group_misc() { … … 101 124 /** 102 125 * @expectedDeprecated register_setting 126 * 127 * @covers ::register_setting 103 128 */ 104 129 public function test_register_deprecated_group_privacy() { … … 108 133 /** 109 134 * @ticket 43207 135 * 136 * @covers ::register_setting 137 * @covers ::unregister_setting 110 138 */ 111 139 public function test_unregister_setting_removes_default() { -
trunk/tests/phpunit/tests/option/sanitizeOption.php
r53494 r53865 82 82 /** 83 83 * @dataProvider sanitize_option_provider 84 * 85 * @covers ::sanitize_option 84 86 */ 85 87 public function test_sanitize_option( $option_name, $sanitized, $original ) { … … 98 100 /** 99 101 * @dataProvider upload_path_provider 102 * 103 * @covers ::sanitize_option 100 104 */ 101 105 public function test_sanitize_option_upload_path( $provided, $expected ) { … … 105 109 /** 106 110 * @ticket 36122 111 * 112 * @covers ::sanitize_option 107 113 */ 108 114 public function test_emoji_in_blogname_and_description() { … … 123 129 /** 124 130 * @dataProvider permalink_structure_provider 131 * 132 * @covers ::sanitize_option 133 * @covers ::get_settings_errors 125 134 */ 126 135 public function test_sanitize_permalink_structure( $provided, $expected, $valid ) { -
trunk/tests/phpunit/tests/option/siteOption.php
r52010 r53865 9 9 } 10 10 11 /** 12 * @covers ::get_site_option 13 */ 11 14 public function test_get_site_option_returns_false_if_option_does_not_exist() { 12 15 $this->assertFalse( get_site_option( 'doesnotexist' ) ); 13 16 } 14 17 18 /** 19 * @covers ::add_site_option 20 * @covers ::delete_site_option 21 * @covers ::get_site_option 22 */ 15 23 public function test_get_site_option_returns_false_after_deletion() { 16 24 $key = __FUNCTION__; … … 21 29 } 22 30 31 /** 32 * @covers ::add_site_option 33 * @covers ::get_site_option 34 */ 23 35 public function test_get_site_option_returns_value() { 24 36 $key = __FUNCTION__; … … 28 40 } 29 41 42 /** 43 * @covers ::add_site_option 44 * @covers ::update_site_option 45 * @covers ::get_site_option 46 */ 30 47 public function test_get_site_option_returns_updated_value() { 31 48 $key = __FUNCTION__; … … 37 54 } 38 55 56 /** 57 * @covers ::add_filter 58 * @covers ::get_site_option 59 * @covers ::remove_filter 60 */ 39 61 public function test_get_site_option_does_not_exist_returns_filtered_default_with_no_default_provided() { 40 62 add_filter( 'default_site_option_doesnotexist', array( $this, '__return_foo' ) ); … … 44 66 } 45 67 68 /** 69 * @covers ::add_filter 70 * @covers ::get_site_option 71 * @covers ::remove_filter 72 */ 46 73 public function test_get_site_option_does_not_exist_returns_filtered_default_with_default_provided() { 47 74 add_filter( 'default_site_option_doesnotexist', array( $this, '__return_foo' ) ); … … 51 78 } 52 79 80 /** 81 * @covers ::get_site_option 82 */ 53 83 public function test_get_site_option_does_not_exist_returns_provided_default() { 54 84 $this->assertSame( 'bar', get_site_option( 'doesnotexist', 'bar' ) ); 55 85 } 56 86 87 /** 88 * @covers ::add_site_option 89 * @covers ::get_site_option 90 */ 57 91 public function test_get_site_option_exists_does_not_return_provided_default() { 58 92 $key = __FUNCTION__; … … 62 96 } 63 97 98 /** 99 * @covers ::add_site_option 100 * @covers ::add_filter 101 * @covers ::get_site_option 102 * @covers ::remove_filter 103 */ 64 104 public function test_get_site_option_exists_does_not_return_filtered_default() { 65 105 $key = __FUNCTION__; … … 72 112 } 73 113 114 /** 115 * @covers ::add_site_option 116 */ 74 117 public function test_add_site_option_returns_true_for_new_option() { 75 118 $key = __FUNCTION__; … … 78 121 } 79 122 123 /** 124 * @covers ::add_site_option 125 */ 80 126 public function test_add_site_option_returns_false_for_existing_option() { 81 127 $key = __FUNCTION__; … … 85 131 } 86 132 133 /** 134 * @covers ::add_site_option 135 * @covers ::update_site_option 136 */ 87 137 public function test_update_site_option_returns_false_for_same_value() { 88 138 $key = __FUNCTION__; … … 92 142 } 93 143 144 /** 145 * @covers ::add_site_option 146 * @covers ::update_site_option 147 */ 94 148 public function test_update_site_option_returns_true_for_new_value() { 95 149 $key = 'key'; … … 100 154 } 101 155 156 /** 157 * @covers ::add_site_option 158 * @covers ::delete_site_option 159 */ 102 160 public function test_delete_site_option_returns_true_if_option_exists() { 103 161 $key = __FUNCTION__; … … 107 165 } 108 166 167 /** 168 * @covers ::add_site_option 169 * @covers ::delete_site_option 170 */ 109 171 public function test_delete_site_option_returns_false_if_option_does_not_exist() { 110 172 $key = __FUNCTION__; … … 115 177 } 116 178 179 /** 180 * @covers ::add_site_option 181 * @covers ::get_site_option 182 */ 117 183 public function test_site_option_add_and_get_serialized_array() { 118 184 $key = __FUNCTION__; … … 125 191 } 126 192 193 /** 194 * @covers ::add_site_option 195 * @covers ::get_site_option 196 */ 127 197 public function test_site_option_add_and_get_serialized_object() { 128 198 $key = __FUNCTION__; … … 138 208 * 139 209 * @ticket 15497 210 * 211 * @covers ::update_site_option 212 * @covers ::get_site_option 140 213 */ 141 214 public function test_update_adds_falsey_value() { … … 153 226 * 154 227 * @ticket 18955 228 * 229 * @covers ::get_site_option 155 230 */ 156 231 public function test_get_doesnt_cache_default_value() { -
trunk/tests/phpunit/tests/option/siteTransient.php
r52010 r53865 14 14 } 15 15 16 /** 17 * @covers ::get_site_transient 18 * @covers ::set_site_transient 19 * @covers ::delete_site_transient 20 */ 16 21 public function test_the_basics() { 17 22 $key = 'key1'; … … 30 35 } 31 36 37 /** 38 * @covers ::get_site_transient 39 * @covers ::set_site_transient 40 * @covers ::delete_site_transient 41 */ 32 42 public function test_serialized_data() { 33 43 $key = __FUNCTION__; … … 49 59 * @ticket 22846 50 60 * @group ms-excluded 61 * 62 * @covers ::set_site_transient 63 * @covers ::wp_load_alloptions 51 64 */ 52 65 public function test_set_site_transient_is_not_stored_as_autoload_option() { -
trunk/tests/phpunit/tests/option/slashes.php
r53557 r53865 23 23 /** 24 24 * Tests the model function that expects un-slashed data 25 * 26 * @covers ::add_option 27 * @covers ::get_option 25 28 */ 26 29 public function test_add_option() { … … 38 41 /** 39 42 * Tests the model function that expects un-slashed data 43 * 44 * @covers ::add_option 45 * @covers ::update_option 46 * @covers ::get_option 40 47 */ 41 48 public function test_update_option() { -
trunk/tests/phpunit/tests/option/themeMods.php
r53494 r53865 6 6 class Tests_Option_ThemeMods extends WP_UnitTestCase { 7 7 8 /** 9 * @covers ::get_theme_mod 10 */ 8 11 public function test_theme_mod_default() { 9 12 $this->assertFalse( get_theme_mod( 'non_existent' ) ); 10 13 } 11 14 15 /** 16 * @covers ::get_theme_mod 17 */ 12 18 public function test_theme_mod_defined_default() { 13 19 $this->assertSame( 'default', get_theme_mod( 'non_existent', 'default' ) ); 14 20 } 15 21 22 /** 23 * @covers ::get_theme_mod 24 * @covers ::set_theme_mod 25 */ 16 26 public function test_theme_mod_set() { 17 27 $expected = 'value'; … … 22 32 /** 23 33 * @ticket 51423 34 * 35 * @covers ::set_theme_mod 24 36 */ 25 37 public function test_theme_mod_set_with_invalid_theme_mods_option() { … … 29 41 } 30 42 43 /** 44 * @covers ::get_theme_mod 45 * @covers ::set_theme_mod 46 */ 31 47 public function test_theme_mod_update() { 32 48 set_theme_mod( 'test_update', 'first_value' ); … … 36 52 } 37 53 54 /** 55 * @covers ::set_theme_mod 56 * @covers ::remove_theme_mod 57 * @covers ::get_theme_mod 58 */ 38 59 public function test_theme_mod_remove() { 39 60 set_theme_mod( 'test_remove', 'value' ); … … 46 67 * 47 68 * @dataProvider data_theme_mod_default_value_with_percent_symbols 69 * 70 * @covers ::get_theme_mod 48 71 */ 49 72 public function test_theme_mod_default_value_with_percent_symbols( $default, $expected ) { -
trunk/tests/phpunit/tests/option/transient.php
r53807 r53865 14 14 } 15 15 16 /** 17 * @covers ::get_transient 18 * @covers ::set_transient 19 * @covers ::delete_transient 20 */ 16 21 public function test_the_basics() { 17 22 $key = 'key1'; … … 30 35 } 31 36 37 /** 38 * @covers ::get_transient 39 * @covers ::set_transient 40 * @covers ::delete_transient 41 */ 32 42 public function test_serialized_data() { 33 43 $key = rand_str(); … … 48 58 /** 49 59 * @ticket 22807 60 * 61 * @covers ::get_option 62 * @covers ::set_transient 63 * @covers ::update_option 50 64 */ 51 65 public function test_transient_data_with_timeout() { … … 69 83 /** 70 84 * @ticket 22807 85 * 86 * @covers ::set_transient 87 * @covers ::get_transient 88 * @covers ::get_option 89 * @covers ::update_option 71 90 */ 72 91 public function test_transient_add_timeout() { … … 92 111 * 93 112 * @ticket 30380 113 * 114 * @covers ::set_transient 115 * @covers ::get_transient 94 116 */ 95 117 public function test_nonexistent_key_dont_delete_if_false() { … … 120 142 /** 121 143 * @ticket 30380 144 * 145 * @covers ::set_transient 146 * @covers ::get_transient 122 147 */ 123 148 public function test_nonexistent_key_old_timeout() { -
trunk/tests/phpunit/tests/option/updateOption.php
r48937 r53865 7 7 /** 8 8 * @ticket 31047 9 * 10 * @covers ::add_filter 11 * @covers ::update_option 12 * @covers ::remove_filter 9 13 */ 10 14 public function test_should_respect_default_option_filter_when_option_does_not_yet_exist_in_database() { … … 19 23 /** 20 24 * @ticket 26394 25 * 26 * @covers ::update_option 27 * @covers ::wp_load_alloptions 28 * @covers ::get_option 21 29 */ 22 30 public function test_should_set_autoload_yes_for_nonexistent_option_when_autoload_param_is_missing() { … … 39 47 /** 40 48 * @ticket 26394 49 * 50 * @covers ::update_option 51 * @covers ::wp_load_alloptions 52 * @covers ::get_option 41 53 */ 42 54 public function test_should_set_autoload_yes_for_nonexistent_option_when_autoload_param_is_yes() { … … 59 71 /** 60 72 * @ticket 26394 73 * 74 * @covers ::update_option 75 * @covers ::wp_load_alloptions 76 * @covers ::get_option 61 77 */ 62 78 public function test_should_set_autoload_no_for_nonexistent_option_when_autoload_param_is_no() { … … 80 96 /** 81 97 * @ticket 26394 98 * 99 * @covers ::update_option 100 * @covers ::wp_load_alloptions 101 * @covers ::get_option 82 102 */ 83 103 public function test_should_set_autoload_no_for_nonexistent_option_when_autoload_param_is_false() { … … 101 121 /** 102 122 * @ticket 26394 123 * 124 * @covers ::update_option 125 * @covers ::wp_load_alloptions 126 * @covers ::get_option 103 127 */ 104 128 public function test_autoload_should_be_updated_for_existing_option_when_value_is_changed() { … … 122 146 /** 123 147 * @ticket 26394 148 * 149 * @covers ::update_option 150 * @covers ::wp_load_alloptions 151 * @covers ::get_option 124 152 */ 125 153 public function test_autoload_should_not_be_updated_for_existing_option_when_value_is_unchanged() { … … 144 172 /** 145 173 * @ticket 26394 174 * 175 * @covers ::update_option 176 * @covers ::wp_load_alloptions 177 * @covers ::get_option 146 178 */ 147 179 public function test_autoload_should_not_be_updated_for_existing_option_when_value_is_changed_but_no_value_of_autoload_is_provided() { … … 161 193 $value = get_option( 'foo' ); 162 194 163 // 'foo' should still be autoload=yes, so we should see no additional queri os.195 // 'foo' should still be autoload=yes, so we should see no additional queries. 164 196 $this->assertSame( $before, $wpdb->num_queries ); 165 197 $this->assertSame( $value, 'bar2' ); … … 168 200 /** 169 201 * @ticket 38903 202 * 203 * @covers ::add_option 204 * @covers ::get_num_queries 205 * @covers ::update_option 170 206 */ 171 207 public function test_update_option_array_with_object() { -
trunk/tests/phpunit/tests/option/userSettings.php
r53494 r53865 25 25 } 26 26 27 /** 28 * @covers ::get_user_setting 29 * @covers ::get_all_user_settings 30 * @covers ::wp_set_all_user_settings 31 */ 27 32 public function test_set_user_setting() { 28 33 $foo = get_user_setting( 'foo' ); … … 35 40 } 36 41 42 /** 43 * @covers ::get_user_setting 44 * @covers ::get_all_user_settings 45 * @covers ::wp_set_all_user_settings 46 */ 37 47 public function test_set_user_setting_dashes() { 38 48 $foo = get_user_setting( 'foo' ); … … 45 55 } 46 56 57 /** 58 * @covers ::get_user_setting 59 * @covers ::get_all_user_settings 60 * @covers ::wp_set_all_user_settings 61 */ 47 62 public function test_set_user_setting_strip_asterisks() { 48 63 $foo = get_user_setting( 'foo' ); -
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.