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/routing/url.php

    r12243 r12245  
    44 */
    55class BP_Tests_URL extends BP_UnitTestCase {
    6     /**
    7      * @expectedDeprecated wpmu_new_blog
    8      */
    96    function test_bp_core_ajax_url() {
    107        $forced = force_ssl_admin();
     
    4542        // (3) Multisite, root blog other than 1
    4643        if ( is_multisite() ) {
     44            $this->setExpectedDeprecated( 'wpmu_new_blog' );
     45
    4746            $original_root_blog = bp_get_root_blog_id();
    4847            $blog_id = self::factory()->blog->create( array(
Note: See TracChangeset for help on using the changeset viewer.