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/core/functions.php

    r12243 r12245  
    696696     * @group bp_attachments
    697697     * @group bp_upload_dir
    698      * @expectedDeprecated wpmu_new_blog
    699698     */
    700699    public function test_bp_upload_dir() {
     
    702701
    703702        if ( is_multisite() ) {
     703            $this->setExpectedDeprecated( 'wpmu_new_blog' );
    704704            $b = self::factory()->blog->create();
    705705            switch_to_blog( $b );
Note: See TracChangeset for help on using the changeset viewer.