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

Follow-up to [47011].

See #47195.

git-svn-id: https://develop.svn.wordpress.org/trunk@47012 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2019-12-25 18:15:13 +00:00
parent ebe75fb903
commit f8051662b1
18 changed files with 34 additions and 36 deletions

View File

@@ -136,7 +136,7 @@ class WP_Test_REST_Users_Controller extends WP_Test_REST_Controller_Testcase {
_unregister_post_type( 'r_false_p_false' );
if ( is_multisite() ) {
wpmu_delete_blog( self::$site, true );
wp_delete_site( self::$site );
}
// Remove users for pagination tests.