Changeset 53487
- Timestamp:
- 06/11/2022 01:41:45 PM (3 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/user/wpListAuthors.php
r53486 r53487 3 3 * @group author 4 4 * @group user 5 * @covers ::wp_list_authors 5 6 */ 6 class Tests_User_ ListAuthors extends WP_UnitTestCase {7 class Tests_User_wpListAuthors extends WP_UnitTestCase { 7 8 public static $user_ids = array(); 8 9 public static $fred_id; 9 10 public static $posts = array(); 10 11 public static $user_urls = array(); 11 /* Defaults 12 'orderby' => 'name', 13 'order' => 'ASC', 14 'number' => null, 15 'optioncount' => false, 16 'exclude_admin' => true, 17 'show_fullname' => false, 18 'hide_empty' => true, 19 'echo' => true, 20 'feed' => [empty string], 21 'feed_image' => [empty string], 22 'feed_type' => [empty string], 23 'style' => 'list', 24 'html' => true ); 25 */ 12 13 /* 14 * Defaults: 15 * 'orderby' => 'name', 16 * 'order' => 'ASC', 17 * 'number' => null, 18 * 'optioncount' => false, 19 * 'exclude_admin' => true, 20 * 'show_fullname' => false, 21 * 'hide_empty' => true, 22 * 'echo' => true, 23 * 'feed' => [empty string], 24 * 'feed_image' => [empty string], 25 * 'feed_type' => [empty string], 26 * 'style' => 'list', 27 * 'html' => true, 28 */ 26 29 public static function wpSetUpBeforeClass( WP_UnitTest_Factory $factory ) { 27 30 self::$user_ids[] = $factory->user->create(
Note: See TracChangeset
for help on using the changeset viewer.