Changeset 12606 for trunk/tests/phpunit/testcases/blogs/functions.php
- Timestamp:
- 03/31/2020 02:45:13 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/testcases/blogs/functions.php
r12605 r12606 286 286 if ( ! is_multisite() ) { 287 287 $this->markTestSkipped(); 288 }289 290 if ( function_exists( 'wp_initialize_site' ) ) {291 $this->setExpectedDeprecated( 'wpmu_new_blog' );292 288 } 293 289 … … 891 887 public function test_bp_blogs_comment_sync_activity_comment_for_custom_post_type() { 892 888 if ( is_multisite() ) { 893 if ( function_exists( 'wp_initialize_site' ) ) {894 $this->setExpectedDeprecated( 'wpmu_new_blog' );895 }896 897 889 $b = self::factory()->blog->create(); 898 890 switch_to_blog( $b ); … … 1001 993 } 1002 994 1003 if ( function_exists( 'wp_initialize_site' ) ) {1004 $this->setExpectedDeprecated( 'wpmu_new_blog' );1005 }1006 1007 995 $old_user = get_current_user_id(); 1008 996 … … 1035 1023 if ( ! is_multisite() ) { 1036 1024 $this->markTestSkipped(); 1037 }1038 1039 if ( function_exists( 'wp_initialize_site' ) ) {1040 $this->setExpectedDeprecated( 'wpmu_new_blog' );1041 $this->setExpectedDeprecated( 'delete_blog' );1042 1025 } 1043 1026 … … 1089 1072 } 1090 1073 1091 if ( function_exists( 'wp_initialize_site' ) ) {1092 $this->setExpectedDeprecated( 'wpmu_new_blog' );1093 }1094 1095 1074 $reset_post = $_POST; 1096 1075 $old_user = get_current_user_id(); … … 1151 1130 } 1152 1131 1153 if ( function_exists( 'wp_initialize_site' ) ) {1154 $this->setExpectedDeprecated( 'wpmu_new_blog' );1155 }1156 1157 1132 $u1 = self::factory()->user->create(); 1158 1133 $b1 = get_current_blog_id(); … … 1181 1156 } 1182 1157 1183 if ( function_exists( 'wp_initialize_site' ) ) {1184 $this->setExpectedDeprecated( 'wpmu_new_blog' );1185 }1186 1187 1158 $u1 = self::factory()->user->create(); 1188 1159 $b1 = get_current_blog_id();
Note: See TracChangeset
for help on using the changeset viewer.