Make WordPress Core


Ignore:
Timestamp:
12/25/2019 06:15:13 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Tests: Replace most instances of wpmu_delete_blog() not specifically testing that function with wp_delete_site().

Follow-up to [47011].

See #47195.

File:
1 edited

Legend:

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

    r46586 r47012  
    390390            restore_current_blog();
    391391
    392             wpmu_delete_blog( $site_id );
     392            wp_delete_site( $site_id );
    393393            wpmu_delete_user( $user_id );
    394394
     
    403403
    404404            $result = add_user_to_blog( 73622, $site_id, 'subscriber' );
    405             wpmu_delete_blog( $site_id );
     405
     406            wp_delete_site( $site_id );
    406407
    407408            $this->assertWPError( $result );
Note: See TracChangeset for help on using the changeset viewer.