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

    r12244 r12245  
    10531053     * @group bp_activity_format_activity_action_custom_post_type_post_ms
    10541054     * @group post_type_comment_activities
    1055      * @expectedDeprecated wpmu_new_blog
    10561055     */
    10571056    public function test_bp_activity_format_activity_action_custom_post_type_comment() {
    10581057        if ( is_multisite() ) {
     1058            $this->setExpectedDeprecated( 'wpmu_new_blog' );
    10591059            $b = self::factory()->blog->create();
    10601060            switch_to_blog( $b );
Note: See TracChangeset for help on using the changeset viewer.