mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-01 11:14:36 +00:00
Unit Tests: since [32953], we can just use self::delete_user() instead of using if logic for Multisite.
See #30017, #33968. git-svn-id: https://develop.svn.wordpress.org/trunk@35224 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -27,11 +27,7 @@ class Tests_Auth extends WP_UnitTestCase {
|
||||
}
|
||||
|
||||
public static function wpTearDownAfterClass() {
|
||||
if ( is_multisite() ) {
|
||||
wpmu_delete_user( self::$user_id );
|
||||
} else {
|
||||
wp_delete_user( self::$user_id );
|
||||
}
|
||||
self::delete_user( self::$user_id );
|
||||
}
|
||||
|
||||
function setUp() {
|
||||
|
||||
Reference in New Issue
Block a user