Skip to:
Content

BuddyPress.org

Changeset 11639


Ignore:
Timestamp:
07/12/2017 11:15:51 PM (7 years ago)
Author:
r-a-y
Message:

Activation: After r11630, fix issues with multisite unit test.

The unit test written for #7553 can cause a database error when
wpmu_create_blog() fires when running the multisite test suite.

To workaround this, we remove the 'domain' and 'path' from the signup
user to prevent wpmu_create_blog() from firing.

Props netweb.

See #7553.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/testcases/members/class-bp-signup.php

    r11630 r11639  
    7171        // Add new signup without a custom field visibility set for field_1.
    7272        $signup = BP_Signup::add( array(
    73             'domain' => 'foo',
    74             'path' => 'bar',
    7573            'title' => 'Foo bar',
    7674            'user_login' => 'user1',
Note: See TracChangeset for help on using the changeset viewer.