mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
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:
parent
7e0bb191fb
commit
3308ae7e4f
@ -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(
|
||||
Loading…
Reference in New Issue
Block a user