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

    r12244 r12245  
    734734        if ( ! is_multisite() ) {
    735735            $this->markTestSkipped();
    736             return;
    737736        }
    738737
     
    886885     * @group bp_blogs_comment_sync_activity_comment
    887886     * @group post_type_comment_activities
    888      * @expectedDeprecated wpmu_new_blog
    889887     */
    890888    public function test_bp_blogs_comment_sync_activity_comment_for_custom_post_type() {
    891889        if ( is_multisite() ) {
     890            $this->setExpectedDeprecated( 'wpmu_new_blog' );
    892891            $b = self::factory()->blog->create();
    893892            switch_to_blog( $b );
Note: See TracChangeset for help on using the changeset viewer.