Changeset 12246 for trunk/tests/phpunit/testcases/core/caps.php
- Timestamp:
- 10/05/2018 05:24:17 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/testcases/core/caps.php
r12243 r12246 6 6 */ 7 7 class BP_Tests_Core_Caps extends BP_UnitTestCase { 8 /**9 * @expectedDeprecated wpmu_new_blog10 */11 8 public function test_bp_current_user_can_should_interpret_integer_second_param_as_a_blog_id() { 12 9 if ( ! is_multisite() ) { 13 10 $this->markTestSkipped( __METHOD__ . ' requires multisite.' ); 11 } 12 13 if ( function_exists( 'wp_initialize_site' ) ) { 14 $this->setExpectedDeprecated( 'wpmu_new_blog' ); 14 15 } 15 16 … … 30 31 /** 31 32 * @ticket BP6501 32 * @expectedDeprecated wpmu_new_blog33 33 */ 34 34 public function test_bp_current_user_can_should_respect_blog_id_passed_in_args_array() { 35 35 if ( ! is_multisite() ) { 36 36 $this->markTestSkipped( __METHOD__ . ' requires multisite.' ); 37 } 38 39 if ( function_exists( 'wp_initialize_site' ) ) { 40 $this->setExpectedDeprecated( 'wpmu_new_blog' ); 37 41 } 38 42
Note: See TracChangeset
for help on using the changeset viewer.