Changeset 35101 for trunk/tests/phpunit/tests/user/query.php
- Timestamp:
- 10/13/2015 01:31:53 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/user/query.php
r34959 r35101 959 959 * @ticket 22212 960 960 */ 961 public function test_get_single_role_by_string_which_is_similar() { 962 $editors = $this->factory->user->create_many( 2, array( 963 'role' => 'editor', 964 ) ); 965 966 $another_editor = $this->factory->user->create( array( 967 'role' => 'another-editor', 968 ) ); 969 970 $users = get_users( array( 971 'role' => 'editor', 972 'fields' => 'ids', 973 ) ); 974 975 $this->assertEqualSets( $editors, $users ); 976 } 977 978 979 /** 980 * @ticket 22212 981 */ 961 982 public function test_get_single_role_by_array() { 962 983 $this->factory->user->create_many( 2, array(
Note: See TracChangeset
for help on using the changeset viewer.