Changeset 12244
- Timestamp:
- 10/05/2018 03:22:28 PM (6 years ago)
- Location:
- trunk/tests/phpunit/testcases
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/testcases/activity/functions.php
r12243 r12244 761 761 public function test_bp_activity_format_activity_action_custom_post_type_post_nonms() { 762 762 if ( is_multisite() ) { 763 return;763 $this->markTestSkipped(); 764 764 } 765 765 … … 809 809 public function test_bp_activity_format_activity_action_custom_post_type_post_ms() { 810 810 if ( ! is_multisite() ) { 811 return;811 $this->markTestSkipped(); 812 812 } 813 813 … … 866 866 public function test_bp_activity_format_activity_action_custom_string_post_type_post_nonms() { 867 867 if ( is_multisite() ) { 868 return;868 $this->markTestSkipped(); 869 869 } 870 870 … … 922 922 public function test_bp_activity_format_activity_action_custom_string_post_type_post_ms() { 923 923 if ( ! is_multisite() ) { 924 return;924 $this->markTestSkipped(); 925 925 } 926 926 -
trunk/tests/phpunit/testcases/blogs/activity.php
r12243 r12244 28 28 public function test_bp_blogs_format_activity_action_new_blog() { 29 29 if ( ! is_multisite() ) { 30 return;30 $this->markTestSkipped(); 31 31 } 32 32 … … 53 53 public function test_bp_blogs_format_activity_action_new_blog_post_nonms() { 54 54 if ( is_multisite() ) { 55 return;55 $this->markTestSkipped(); 56 56 } 57 57 … … 87 87 public function test_bp_blogs_format_activity_action_new_blog_post_ms_rootblog() { 88 88 if ( ! is_multisite() ) { 89 return;89 $this->markTestSkipped(); 90 90 } 91 91 … … 122 122 public function test_bp_blogs_format_activity_action_new_blog_post_ms_nonrootblog() { 123 123 if ( ! is_multisite() ) { 124 return;124 $this->markTestSkipped(); 125 125 } 126 126 … … 164 164 public function test_bp_blogs_format_activity_action_new_blog_comment_ms_nonrootblog() { 165 165 if ( ! is_multisite() ) { 166 return;166 $this->markTestSkipped(); 167 167 } 168 168 … … 208 208 public function test_bp_activity_format_activity_action_new_blog_backpat() { 209 209 if ( ! is_multisite() ) { 210 return;210 $this->markTestSkipped(); 211 211 } 212 212 … … 237 237 public function test_bp_activity_format_activity_action_new_blog_post_backpat() { 238 238 if ( ! is_multisite() ) { 239 return;239 $this->markTestSkipped(); 240 240 } 241 241 … … 266 266 public function test_bp_activity_format_activity_action_new_blog_comment_backpat() { 267 267 if ( ! is_multisite() ) { 268 return;268 $this->markTestSkipped(); 269 269 } 270 270 … … 323 323 public function test_bp_blogs_format_activity_action_new_blog_post_no_title() { 324 324 if ( is_multisite() ) { 325 return;325 $this->markTestSkipped(); 326 326 } 327 327 … … 360 360 public function test_bp_blogs_format_activity_action_new_blog_post_updated_without_title() { 361 361 if ( is_multisite() ) { 362 return;362 $this->markTestSkipped(); 363 363 } 364 364 -
trunk/tests/phpunit/testcases/blogs/cache.php
r12243 r12244 12 12 public function test_bp_blogs_update_meta_cache() { 13 13 if ( ! is_multisite() ) { 14 return;14 $this->markTestSkipped(); 15 15 } 16 16 … … 94 94 public function test_bp_blogs_update_meta_cache_bp_has_blogs() { 95 95 if ( ! is_multisite() ) { 96 return;96 $this->markTestSkipped(); 97 97 } 98 98 … … 189 189 public function test_bp_blogs_update_meta_cache_bp_has_blogs_false() { 190 190 if ( ! is_multisite() ) { 191 return;191 $this->markTestSkipped(); 192 192 } 193 193 … … 242 242 public function test_bp_blogs_total_count_should_respect_cached_value_of_0() { 243 243 if ( ! is_multisite() ) { 244 return;244 $this->markTestSkipped(); 245 245 } 246 246 … … 266 266 public function test_bp_blogs_total_blogs_count_after_delete_blog() { 267 267 if ( ! is_multisite() ) { 268 return;268 $this->markTestSkipped(); 269 269 } 270 270 … … 301 301 public function test_update_blog_details_should_purge_blogmeta_cache() { 302 302 if ( ! is_multisite() ) { 303 return;303 $this->markTestSkipped(); 304 304 } 305 305 -
trunk/tests/phpunit/testcases/blogs/class-bp-blogs-blog.php
r12243 r12244 11 11 public function test_get_with_search_terms() { 12 12 if ( ! is_multisite() ) { 13 return;13 $this->markTestSkipped(); 14 14 } 15 15 … … 39 39 public function test_get_with_search_terms_should_match_description() { 40 40 if ( ! is_multisite() ) { 41 return;41 $this->markTestSkipped(); 42 42 } 43 43 … … 69 69 public function test_search_blogs() { 70 70 if ( ! is_multisite() ) { 71 return;71 $this->markTestSkipped(); 72 72 } 73 73 … … 98 98 public function test_get_by_letter() { 99 99 if ( ! is_multisite() ) { 100 $this->markTestSkipped(); 100 101 return; 101 102 } … … 127 128 public function test_get_order_by() { 128 129 if ( ! is_multisite() ) { 129 return;130 $this->markTestSkipped(); 130 131 } 131 132 -
trunk/tests/phpunit/testcases/blogs/functions.php
r12243 r12244 286 286 public function test_bp_blogs_restore_data() { 287 287 if ( ! is_multisite() ) { 288 return;288 $this->markTestSkipped(); 289 289 } 290 290 … … 733 733 public function test_bp_is_blog_public_zero_publish_post() { 734 734 if ( ! is_multisite() ) { 735 $this->markTestSkipped(); 735 736 return; 736 737 } … … 993 994 public function test_bp_blogs_record_existing_blogs_limit() { 994 995 if ( ! is_multisite() ) { 995 return;996 $this->markTestSkipped(); 996 997 } 997 998 … … 1027 1028 public function test_bp_blogs_remove_blog() { 1028 1029 if ( ! is_multisite() ) { 1029 return;1030 $this->markTestSkipped(); 1030 1031 } 1031 1032 … … 1075 1076 public function test_bp_blogs_remove_blog_for_user_is_contributor() { 1076 1077 if ( ! is_multisite() ) { 1077 return;1078 $this->markTestSkipped(); 1078 1079 } 1079 1080 -
trunk/tests/phpunit/testcases/blogs/template.php
r11386 r12244 210 210 public function test_bp_blogs_template_should_give_precedence_to_bpage_URL_param() { 211 211 if ( ! is_multisite() ) { 212 return;212 $this->markTestSkipped(); 213 213 } 214 214 … … 251 251 public function test_bp_blogs_template_should_reset_0_pag_page_URL_param_to_default_pag_page_value() { 252 252 if ( ! is_multisite() ) { 253 return;253 $this->markTestSkipped(); 254 254 } 255 255 … … 292 292 public function test_bp_blogs_template_should_give_precedence_to_num_URL_param() { 293 293 if ( ! is_multisite() ) { 294 return;294 $this->markTestSkipped(); 295 295 } 296 296 … … 333 333 public function test_bp_blogs_template_should_reset_0_pag_num_URL_param_to_default_pag_num_value() { 334 334 if ( ! is_multisite() ) { 335 return;335 $this->markTestSkipped(); 336 336 } 337 337 -
trunk/tests/phpunit/testcases/core/avatars.php
r12243 r12244 24 24 // Do not pass 'Go', do not collect $200 25 25 if ( ! is_multisite() ) { 26 return;26 $this->markTestSkipped(); 27 27 } 28 28 -
trunk/tests/phpunit/testcases/core/class-bp-user-query.php
r11737 r12244 333 333 public function test_bp_user_query_type_alphabetical_spam_xprofileon() { 334 334 if ( is_multisite() ) { 335 return;335 $this->markTestSkipped(); 336 336 } 337 337 -
trunk/tests/phpunit/testcases/core/functions/bpCoreGetDirectoryPageIds.php
r12243 r12244 260 260 public function test_bp_core_get_directory_pages_multisite_delete_post_with_same_bp_page_id() { 261 261 if ( ! is_multisite() ) { 262 return;262 $this->markTestSkipped(); 263 263 } 264 264 … … 293 293 public function test_bp_core_get_directory_pages_autocreate_register_pages_single_site() { 294 294 if ( is_multisite() ) { 295 return;295 $this->markTestSkipped(); 296 296 } 297 297 … … 320 320 public function test_bp_core_get_directory_pages_autocreate_register_pages_multisite() { 321 321 if ( ! is_multisite() ) { 322 return;322 $this->markTestSkipped(); 323 323 } 324 324 -
trunk/tests/phpunit/testcases/groups/user_can.php
r11972 r12244 30 30 public function test_user_cannot_join_public_group_if_already_member_even_superadmin() { 31 31 if ( ! is_multisite() ) { 32 return;32 $this->markTestSkipped(); 33 33 } 34 34 … … 160 160 public function test_user_cannot_receive_invitation_to_private_group_if_already_member_even_superadmin() { 161 161 if ( ! is_multisite() ) { 162 return;162 $this->markTestSkipped(); 163 163 } 164 164 … … 413 413 public function test_user_can_groups_request_membership_for_super_admin() { 414 414 if ( ! is_multisite() ) { 415 return;415 $this->markTestSkipped(); 416 416 } 417 417 -
trunk/tests/phpunit/testcases/members/functions.php
r12243 r12244 348 348 public function test_bp_core_process_spammer_status() { 349 349 if ( is_multisite() ) { 350 return;350 $this->markTestSkipped(); 351 351 } 352 352 … … 376 376 public function test_bp_core_process_spammer_status_ms_bulk_spam() { 377 377 if ( ! is_multisite() ) { 378 return;378 $this->markTestSkipped(); 379 379 } 380 380 … … 404 404 public function test_bp_core_process_spammer_status_ms_bulk_ham() { 405 405 if ( ! is_multisite() ) { 406 return;406 $this->markTestSkipped(); 407 407 } 408 408
Note: See TracChangeset
for help on using the changeset viewer.