Tests: Fix all the things.
See #30017, #32394 git-svn-id: https://develop.svn.wordpress.org/trunk@36049 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
8b5747a108
commit
b637e77c5a
@ -20,6 +20,12 @@ class Tests_User_Capabilities extends WP_UnitTestCase {
|
||||
);
|
||||
}
|
||||
|
||||
public static function wpTearDownAfterClass() {
|
||||
foreach ( self::$users as $role => $user ) {
|
||||
self::delete_user( $user->ID );
|
||||
}
|
||||
}
|
||||
|
||||
function setUp() {
|
||||
parent::setUp();
|
||||
// keep track of users we create
|
||||
|
Loading…
Reference in New Issue
Block a user