Changeset 12246 for trunk/tests/phpunit/testcases/blogs/functions.php
- Timestamp:
- 10/05/2018 05:24:17 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/testcases/blogs/functions.php
r12245 r12246 282 282 /** 283 283 * @group bp_blogs_restore_data 284 * @expectedDeprecated wpmu_new_blog285 284 */ 286 285 public function test_bp_blogs_restore_data() { 287 286 if ( ! is_multisite() ) { 288 287 $this->markTestSkipped(); 288 } 289 290 if ( function_exists( 'wp_initialize_site' ) ) { 291 $this->setExpectedDeprecated( 'wpmu_new_blog' ); 289 292 } 290 293 … … 888 891 public function test_bp_blogs_comment_sync_activity_comment_for_custom_post_type() { 889 892 if ( is_multisite() ) { 890 $this->setExpectedDeprecated( 'wpmu_new_blog' ); 893 if ( function_exists( 'wp_initialize_site' ) ) { 894 $this->setExpectedDeprecated( 'wpmu_new_blog' ); 895 } 896 891 897 $b = self::factory()->blog->create(); 892 898 switch_to_blog( $b ); … … 989 995 /** 990 996 * @group bp_blogs_record_existing_blogs 991 * @expectedDeprecated wpmu_new_blog992 997 */ 993 998 public function test_bp_blogs_record_existing_blogs_limit() { … … 996 1001 } 997 1002 1003 if ( function_exists( 'wp_initialize_site' ) ) { 1004 $this->setExpectedDeprecated( 'wpmu_new_blog' ); 1005 } 1006 998 1007 $old_user = get_current_user_id(); 999 1008 … … 1022 1031 /** 1023 1032 * @group bp_blogs_remove_blog 1024 * @expectedDeprecated wpmu_new_blog1025 * @expectedDeprecated delete_blog1026 1033 */ 1027 1034 public function test_bp_blogs_remove_blog() { 1028 1035 if ( ! is_multisite() ) { 1029 1036 $this->markTestSkipped(); 1037 } 1038 1039 if ( function_exists( 'wp_initialize_site' ) ) { 1040 $this->setExpectedDeprecated( 'wpmu_new_blog' ); 1041 $this->setExpectedDeprecated( 'delete_blog' ); 1030 1042 } 1031 1043 … … 1071 1083 /** 1072 1084 * @group bp_blogs_remove_blog_for_user 1073 * @expectedDeprecated wpmu_new_blog1074 1085 */ 1075 1086 public function test_bp_blogs_remove_blog_for_user_is_contributor() { 1076 1087 if ( ! is_multisite() ) { 1077 1088 $this->markTestSkipped(); 1089 } 1090 1091 if ( function_exists( 'wp_initialize_site' ) ) { 1092 $this->setExpectedDeprecated( 'wpmu_new_blog' ); 1078 1093 } 1079 1094
Note: See TracChangeset
for help on using the changeset viewer.