Changeset 52010 for trunk/tests/phpunit/tests/user/query.php
- Timestamp:
- 11/04/2021 03:22:47 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/user/query.php
r51943 r52010 50 50 } 51 51 52 function test_get_and_set() {52 public function test_get_and_set() { 53 53 $users = new WP_User_Query(); 54 54 … … 499 499 * @ticket 28631 500 500 */ 501 function test_number() {501 public function test_number() { 502 502 // +1 for the default user created by the test suite. 503 503 $users = new WP_User_Query( array( 'blog_id' => get_current_blog_id() ) ); … … 536 536 * @ticket 21119 537 537 */ 538 function test_prepare_query() {538 public function test_prepare_query() { 539 539 $query = new WP_User_Query(); 540 540 $this->assertEmpty( $query->query_fields ); … … 601 601 * @ticket 23849 602 602 */ 603 function test_meta_query_with_role() {603 public function test_meta_query_with_role() { 604 604 add_user_meta( self::$author_ids[0], 'foo', 'bar' ); 605 605 add_user_meta( self::$author_ids[1], 'foo', 'baz' );
Note: See TracChangeset
for help on using the changeset viewer.