Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
tearing down after tests: deleting users
  • Loading branch information
ramonjd committed Jun 26, 2023
commit 4b1876c3eb3299015d3adae3f8e7acf1884b976e
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,15 @@ public static function wpSetupBeforeClass( $factory ) {
);
}

/**
* Removes users after our tests run.
*/
public static function wpTearDownAfterClass() {
self::delete_user( self::$admin_id );
self::delete_user( self::$second_admin_id );
self::delete_user( self::$author_id );
}

/**
* @covers WP_REST_Global_Styles_Controller::register_routes
*/
Expand Down