Stats: Add stats for the % of contributors that are active.

This commit is contained in:
Ian Dunn 2022-08-18 15:09:03 -07:00
parent 0be2f859f9
commit 5f1d091185
4 changed files with 149 additions and 13 deletions

View file

@ -36,7 +36,7 @@ class Test_Contributor extends WP_UnitTestCase {
*/
public function set_up() {
parent::set_up();
TestHelpers\database_set_up( self::$users['jane']->ID, self::$users['ashish']->ID );
TestHelpers\database_set_up( array_values( wp_list_pluck( self::$users, 'ID' ) ) );
reset_phpmailer_instance();
}