Changeset 43571 for trunk/tests/phpunit/tests/user/query.php
- Timestamp:
- 08/17/2018 01:50:26 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/user/query.php
r42343 r43571 16 16 public static function wpSetUpBeforeClass( $factory ) { 17 17 self::$author_ids = $factory->user->create_many( 18 4, array( 18 4, 19 array( 19 20 'role' => 'author', 20 21 ) … … 22 23 23 24 self::$sub_ids = $factory->user->create_many( 24 2, array( 25 2, 26 array( 25 27 'role' => 'subscriber', 26 28 ) … … 28 30 29 31 self::$editor_ids = $factory->user->create_many( 30 3, array( 32 3, 33 array( 31 34 'role' => 'editor', 32 35 ) … … 40 43 41 44 self::$admin_ids = $factory->user->create_many( 42 2, array( 45 2, 46 array( 43 47 'role' => 'administrator', 44 48 )
Note: See TracChangeset
for help on using the changeset viewer.