Changeset 12422
- Timestamp:
- 08/05/2019 05:20:48 AM (5 years ago)
- Location:
- trunk/tests/phpunit/testcases
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/testcases/blogs/functions.php
r12246 r12422 290 290 if ( function_exists( 'wp_initialize_site' ) ) { 291 291 $this->setExpectedDeprecated( 'wpmu_new_blog' ); 292 } 293 294 if ( function_exists( 'wp_get_registered_image_subsizes' ) ) { 295 $this->setExpectedDeprecated( 'update_user_status' ); 292 296 } 293 297 -
trunk/tests/phpunit/testcases/core/class-bp-user-query.php
r12329 r12422 390 390 */ 391 391 public function test_bp_user_query_type_alphabetical_spam_xprofileoff() { 392 if ( function_exists( 'wp_get_registered_image_subsizes' ) ) { 393 $this->setExpectedDeprecated( 'update_user_status' ); 394 } 395 392 396 $u1 = self::factory()->user->create(); 393 397 $u2 = self::factory()->user->create(); -
trunk/tests/phpunit/testcases/members/functions.php
r12246 r12422 379 379 } 380 380 381 if ( function_exists( 'wp_get_registered_image_subsizes' ) ) { 382 $this->setExpectedDeprecated( 'update_user_status' ); 383 } 384 381 385 $bp = buddypress(); 382 386 $displayed_user = $bp->displayed_user; … … 407 411 } 408 412 413 if ( function_exists( 'wp_get_registered_image_subsizes' ) ) { 414 $this->setExpectedDeprecated( 'update_user_status' ); 415 } 416 409 417 $bp = buddypress(); 410 418 $displayed_user = $bp->displayed_user; … … 431 439 */ 432 440 public function test_bp_core_process_spammer_status_make_spam_user_filter() { 441 if ( function_exists( 'wp_get_registered_image_subsizes' ) ) { 442 $this->setExpectedDeprecated( 'update_user_status' ); 443 } 444 433 445 add_filter( 'make_spam_user', array( $this, 'notification_filter_callback' ) ); 434 446 … … 443 455 444 456 public function test_bp_core_process_spammer_status_make_ham_user_filter() { 457 if ( function_exists( 'wp_get_registered_image_subsizes' ) ) { 458 $this->setExpectedDeprecated( 'update_user_status' ); 459 } 460 445 461 add_filter( 'make_ham_user', array( $this, 'notification_filter_callback' ) ); 446 462 … … 455 471 456 472 public function test_bp_core_process_spammer_status_bp_make_spam_user_filter() { 473 if ( function_exists( 'wp_get_registered_image_subsizes' ) ) { 474 $this->setExpectedDeprecated( 'update_user_status' ); 475 } 476 457 477 add_filter( 'bp_make_spam_user', array( $this, 'notification_filter_callback' ) ); 458 478 … … 467 487 468 488 public function test_bp_core_process_spammer_status_bp_make_ham_user_filter() { 489 if ( function_exists( 'wp_get_registered_image_subsizes' ) ) { 490 $this->setExpectedDeprecated( 'update_user_status' ); 491 } 492 469 493 add_filter( 'bp_make_ham_user', array( $this, 'notification_filter_callback' ) ); 470 494
Note: See TracChangeset
for help on using the changeset viewer.