Changeset 54402 for trunk/tests/phpunit/tests/user/query.php
- Timestamp:
- 10/07/2022 01:02:07 AM (4 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/user/query.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/user/query.php
r54090 r54402 53 53 $users = new WP_User_Query(); 54 54 55 $this->assert Equals( '',$users->get( 'fields' ) );55 $this->assertNull( $users->get( 'fields' ) ); 56 56 if ( isset( $users->query_vars['fields'] ) ) { 57 57 $this->assertSame( '', $users->query_vars['fields'] ); … … 583 583 $query->prepare_query( array( 'fields' => 'all' ) ); 584 584 $this->assertEmpty( $query->query_limit ); 585 $this->assert Equals( '',$query->query_limit );585 $this->assertNull( $query->query_limit ); 586 586 $_query_vars = $query->query_vars; 587 587 … … 1686 1686 1687 1687 // Must include user that has the same string in display_name. 1688 $this->assert Equals( array($new_user1 ), $ids );1688 $this->assertSameSetsWithIndex( array( (string) $new_user1 ), $ids ); 1689 1689 } 1690 1690
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)