Make WordPress Core


Ignore:
Timestamp:
12/25/2019 09:39:46 PM (7 years ago)
Author:
SergeyBiryukov
Message:

Tests: Update legacy arguments passed to WP_UnitTest_Factory_For_Blog::create_object().

This converts the arguments originally meant for wpmu_create_blog() to the ones used by wp_insert_site().

Follow-up to [47011].

Fixes #47195.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/multisite/wpmuValidateBlogSignup.php

    r47012 r47013  
    3535                        self::$existing_blog_id = $factory->blog->create(
    3636                                array(
    37                                         'domain'  => $domain,
    38                                         'path'    => $path,
    39                                         'site_id' => $network->id,
     37                                        'domain'     => $domain,
     38                                        'path'       => $path,
     39                                        'network_id' => $network->id,
    4040                                )
    4141                        );
Note: See TracChangeset for help on using the changeset viewer.