Changeset 12246 for trunk/tests/phpunit/testcases/blogs/cache.php
- Timestamp:
- 10/05/2018 05:24:17 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/testcases/blogs/cache.php
r12244 r12246 8 8 /** 9 9 * @group bp_blogs_update_meta_cache 10 * @expectedDeprecated wpmu_new_blog11 10 */ 12 11 public function test_bp_blogs_update_meta_cache() { 13 12 if ( ! is_multisite() ) { 14 13 $this->markTestSkipped(); 14 } 15 16 if ( function_exists( 'wp_initialize_site' ) ) { 17 $this->setExpectedDeprecated( 'wpmu_new_blog' ); 15 18 } 16 19 … … 90 93 * @group bp_blogs_update_meta_cache 91 94 * @group bp_has_blogs 92 * @expectedDeprecated wpmu_new_blog93 95 */ 94 96 public function test_bp_blogs_update_meta_cache_bp_has_blogs() { 95 97 if ( ! is_multisite() ) { 96 98 $this->markTestSkipped(); 99 } 100 101 if ( function_exists( 'wp_initialize_site' ) ) { 102 $this->setExpectedDeprecated( 'wpmu_new_blog' ); 97 103 } 98 104 … … 185 191 * @group bp_blogs_update_meta_cache 186 192 * @group bp_has_blogs 187 * @expectedDeprecated wpmu_new_blog188 193 */ 189 194 public function test_bp_blogs_update_meta_cache_bp_has_blogs_false() { 190 195 if ( ! is_multisite() ) { 191 196 $this->markTestSkipped(); 197 } 198 199 if ( function_exists( 'wp_initialize_site' ) ) { 200 $this->setExpectedDeprecated( 'wpmu_new_blog' ); 192 201 } 193 202 … … 261 270 /** 262 271 * @group bp_blogs_total_blogs 263 * @expectedDeprecated wpmu_new_blog264 272 * @expectedDeprecated delete_blog 265 273 */ … … 267 275 if ( ! is_multisite() ) { 268 276 $this->markTestSkipped(); 277 } 278 279 if ( function_exists( 'wp_initialize_site' ) ) { 280 $this->setExpectedDeprecated( 'wpmu_new_blog' ); 281 $this->setExpectedDeprecated( 'delete_blog' ); 269 282 } 270 283 … … 297 310 /** 298 311 * @group update_blog_details 299 * @expectedDeprecated wpmu_new_blog300 312 */ 301 313 public function test_update_blog_details_should_purge_blogmeta_cache() { 302 314 if ( ! is_multisite() ) { 303 315 $this->markTestSkipped(); 316 } 317 318 if ( function_exists( 'wp_initialize_site' ) ) { 319 $this->setExpectedDeprecated( 'wpmu_new_blog' ); 304 320 } 305 321
Note: See TracChangeset
for help on using the changeset viewer.