Fix failing multisite test after [35629].

See #27317.

git-svn-id: https://develop.svn.wordpress.org/trunk@35631 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2015-11-12 17:11:46 +00:00
parent 05df76ff7b
commit 98cc2557ad
1 changed files with 2 additions and 3 deletions

View File

@ -619,15 +619,14 @@ class Tests_User extends WP_UnitTestCase {
/**
* @ticket 27317
* @dataProvider _illegal_user_logins_data
*/
function test_illegal_user_logins_multisite( $user_login ) {
function test_illegal_user_logins_multisite() {
if ( ! is_multisite() ) {
return;
}
$user_data = array(
'user_login' => $user_login,
'user_login' => 'testuser',
'user_email' => 'testuser@example.com',
);