Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
10/05/2018 04:44:54 PM (6 years ago)
Author:
boonebgorges
Message:

Tests: More targeted 'wpmu_new_blog' deprecation notices.

When a test could run under non-MS, the expectedDeprecated annotation
cannot apply to the entire test.

See #7984.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/testcases/members/functions.php

    r12244 r12245  
    496496    /**
    497497     * @group bp_core_activate_signup
    498      * @expectedDeprecated wpmu_new_blog
    499498     */
    500499    public function test_bp_core_activate_signup_password() {
     
    517516
    518517        if ( is_multisite() ) {
     518            $this->setExpectedDeprecated( 'wpmu_new_blog' );
     519
    519520            $signups['ms-blog'] = array( 'signup_id' => self::factory()->signup->create( array(
    520521                    'user_login'     => 'msblog',
Note: See TracChangeset for help on using the changeset viewer.