Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/15/2016 03:30:19 AM (10 years ago)
Author:
boonebgorges
Message:

Specify user_email and user_login for fixture in group type tests.

Earlier versions of the WP test suite were causing users to be created with
duplicate credentials, resulting in unexpected WP_Error objects.
See #WP33968, #WP35199.

See #6784.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/testcases/groups/types.php

    r10766 r10772  
    1313                buddypress()->groups->types = array();
    1414
    15                 self::$u1 = $this->factory->user->create();
     15                self::$u1 = $this->factory->user->create( array(
     16                        'user_email' => 'group-types-tests@example.com',
     17                        'user_login' => 'grouptypestests',
     18                ) );
    1619        }
    1720
Note: See TracChangeset for help on using the changeset viewer.