Make WordPress Core

Changeset 36049


Ignore:
Timestamp:
12/21/2015 07:09:43 AM (9 years ago)
Author:
johnbillion
Message:

Tests: Fix all the things.

See #30017, #32394

File:
1 edited

Legend:

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

    r36047 r36049  
    1919            'subscriber'    => $factory->user->create_and_get( array( 'role' => 'subscriber' ) ),
    2020        );
     21    }
     22
     23    public static function wpTearDownAfterClass() {
     24        foreach ( self::$users as $role => $user ) {
     25            self::delete_user( $user->ID );
     26        }
    2127    }
    2228
Note: See TracChangeset for help on using the changeset viewer.