Tests: Rename the test file and class for wp_list_authors() tests.

This matches the name of the function being tested.

Follow-up to [27550].

See #55652.

git-svn-id: https://develop.svn.wordpress.org/trunk@53487 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2022-06-11 13:41:45 +00:00
parent 7e0bb191fb
commit 3308ae7e4f

View File

@ -2,27 +2,30 @@
/**
* @group author
* @group user
* @covers ::wp_list_authors
*/
class Tests_User_ListAuthors extends WP_UnitTestCase {
class Tests_User_wpListAuthors extends WP_UnitTestCase {
public static $user_ids = array();
public static $fred_id;
public static $posts = array();
public static $user_urls = array();
/* Defaults
'orderby' => 'name',
'order' => 'ASC',
'number' => null,
'optioncount' => false,
'exclude_admin' => true,
'show_fullname' => false,
'hide_empty' => true,
'echo' => true,
'feed' => [empty string],
'feed_image' => [empty string],
'feed_type' => [empty string],
'style' => 'list',
'html' => true );
*/
/*
* Defaults:
* 'orderby' => 'name',
* 'order' => 'ASC',
* 'number' => null,
* 'optioncount' => false,
* 'exclude_admin' => true,
* 'show_fullname' => false,
* 'hide_empty' => true,
* 'echo' => true,
* 'feed' => [empty string],
* 'feed_image' => [empty string],
* 'feed_type' => [empty string],
* 'style' => 'list',
* 'html' => true,
*/
public static function wpSetUpBeforeClass( WP_UnitTest_Factory $factory ) {
self::$user_ids[] = $factory->user->create(
array(